The "Pipeline" Operator - Making multiple function calls look great

Kevin Smith zenparsing at gmail.com
Mon Dec 14 06:32:22 UTC 2015


It also seems like the current proposal for PO makes it awkward when mixing
methods and piped calls in a chain.

(someArray
  .filter(...)
  .map(...)
  |> someOtherArrayOp
  ).forEach(...)

Note the extra parens before the "forEach" invocation.

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20151214/d6626d85/attachment.html>


More information about the es-discuss mailing list