I have the function below and it works:
(fn x => x * 2) 2;
but this one doesn\'t work:
(fn x y => x + y ) 2 3; >
(fn x y => x + y ) 2 3;
(fn x => fn y => x+y) 2 3; works. fn simply doesn't have the same syntactic sugar to define curried functions that fun has.
(fn x => fn y => x+y) 2 3;
fn
fun