Yongxu Ren (2015-10-15T18:41:45.000Z)
How about making arrow function curry by default?

const add = a => b => a + b;
this will only works in case
add(a)(b);
But it won’t work if you do this
add(a,b);
If we could let arrow to work for both
add(a)(b) and add(a,b)
it will release the full power of functional programming and allow us to write code like in OCaml, F# or Haskell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20151015/611d1d87/attachment.html>
renyongxu at gmail.com (2015-10-15T18:47:03.686Z)
How about making arrow function curry by default?

const add = a => b => a + b;

this will only works in case

add(a)(b);

But it won’t work if you do this

add(a,b);

If we could let arrow to work for both

add(a)(b) and add(a,b)

it will release the full power of functional programming and allow us to write code like in OCaml, F# or Haskell