[nem-en] Partial application and functional types

Vladimir Reshetnikov v.reshetnikov at gmail.com
Wed Feb 14 16:20:31 CET 2007


On 2/14/07, vc <vc at rsdn.ru> wrote:
> > def x = _(2); /* I mean _.apply(2), but I cannot use 'apply'
> > explicitly */
>
> It is ugly.

Not more ugly, than _.foo(), which is allowed.
Surely, I could write f => f(2), but I want to save my fingers.



More information about the devel-en mailing list