-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Description
So, I'd really like something along the lines of ruby, that let you pass an additional argument to a function as a block specified after the function call, i.e:
myFunc(1,2) x =>
alert(x).
This would be semantically equivalent to either:
myFunc(1,2,x=>alert(x).)
or:
myFunc(1,2)(x=>alert(x).)