4 ms·
> It seems similar to Haskell, except with parentheses That's the point: In Haskell, the parentheses (and especially the comma) are meaningful, and "foo(x, y)"
by tom_mellior 9y ago
> It seems similar to Haskell, except with parentheses
That's the point: In Haskell, the parentheses (and especially the comma) are meaningful, and "foo(x, y)" is not the same as "foo x y". Reason jumps through extra hoops to make the two syntaxes mean the same thing. To a Haskell (or OCaml, or other ML family) programmer, the Reason syntax suggests an uncurried function.
- DonaldPShimoda 9y agoOhh I see what you mean, yeah, fair point!