What is the difference between the `fun` and `function` keywords?
The semantics for this is the same as in F# (probably because F# is based on OCaml): function allows the use of pattern matching (i.e. |), but consequently it can be passed only one argument. function p_1 -> exp_1 | … | p_n -> exp_n is equivalent to fun exp -> match exp with p_1 … Read more