[parenscript-devel] CoffeeScript Soaks

David Sargeant david at dsargeant.com
Sun Jan 20 01:30:00 UTC 2013


It would be great to be able to do "soaks" like in CoffeeScript.  Example from coffeescript.org:

zip = lottery.drawWinner?().address?.zipcode

Produces

var zip, _ref;

zip = typeof lottery.drawWinner === "function" ? (_ref = lottery.drawWinner().address) != null ? _ref.zipcode : void 0 : void 0;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20130119/6abdefb4/attachment.html>


More information about the parenscript-devel mailing list