I do like Haskell syntax, but only because it allows partial application of functions.
No partial application allowed here, so what is the point? =\
let add a b = a + b
let add2 = add 2
Does not work. let fact a =
if a == 0 then
1
else
(fact (a-1)) * a
Does not support recursion like this either. The "functional" description brought my expectations too high I think.It compiles to very lean Javascript though, so that's a big plus.