1. FUNCTIONAL EXPRESSIONS
syntax for functional expr: function some_identifier -> some_expr
the type of the functional expr is t1 -> t2 where t1 is the type of some_identifier, t2 is type of some_expr
ex.
function x -> x + 1;;
(function x -> 2*x) 5;; (*annonymous function*)
the previous way of defining function:
let …