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;
In Standard ML, a function can have only one argument, so use
(fn (x,y) => x + y) (2,3)
and the type is
fn: int * int -> int
in this time (x,y) and (2,3) is a list structure,