block lambda revival

Brendan Eich brendan at
Wed May 25 08:06:27 PDT 2011

On May 24, 2011, at 7:20 PM, Jon Zeppieri wrote:

> - Waldemar's "currying hazard" doesn't strike me so much as a hazard
> as it does expected behavior. But that might just be me.

One last thought: if you want to curry, always parenthesize all calls. Space-separated argument lists just do not look sufficiently "high precedence" when followed by (...) after, to treat

  foo {|x| x} (bar)


  foo({|x| x})(bar)

instead of

  foo({|x| x}, bar)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list