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

Gilbert B Garza gilbertbgarza at gmail.com
Tue Nov 10 20:19:05 UTC 2015


Nelo, that is function composition. While it's a very useful concept, it
isn't quite the same thing; you have to first create the composed function
before using it. What I'm proposing is an operator that allows
ad-hoc chained invocations, with a primary goal of having the input read
first.

On Tue, Nov 10, 2015 at 2:12 PM, Nelo Mitranim <me at mitranim.com> wrote:

> Seems pointless. Functions can be trivially composed to form a “pipeline”
> without introducing new syntax: https://lodash.com/docs#flow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20151110/f0fdac82/attachment.html>


More information about the es-discuss mailing list