Existential operator (was: ||= is much needed?)

Brandon Benvie brandon at brandonbenvie.com
Tue Jun 19 12:36:44 PDT 2012

Is it possible to do something like

 foo.bar?:(foo, args)

Basically a ternary that allows an empty component, and can tell the future
(whether the other result is callable)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120619/2d1e7380/attachment.html>

More information about the es-discuss mailing list