Allen's lambda syntax proposal

P T Withington ptw at pobox.com
Wed Dec 3 10:23:10 PST 2008


If we are voting on the color of paint to use, I sure like:

   ^(a, b, ...) { ... }

+ ^ is mnemonic for Λ (Greek capital lambda)
+ ^ is mnemonic for 'pointer' so I am reminded that I am creating and  
object here
+ () keeps parameters in a parameter list so I don't have to learn a  
new syntax (as I might with any other delimiter)

- prefix ^ might be confused with the infix operator of the same name


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20081203/7d46a209/attachment.html>


More information about the Es-discuss mailing list