News for hackers. Stuff that matters.
Re:The shok command shell by xiaq on Sunday December 29, 2013 @07:13AM (#6979343)
Though it's mostly a matter of taste, I find pipelines simpler and more natural than method calls. Compare:

    xs.filter(p).map(f)
with

    filter p xs | map f
(Suppose filter and map are implemented such that they accept input either on the command line or from pipeline.)
Re:The shok command shell by Tyr42 on Sunday December 29, 2013 @09:16AM (#6979571)
Well, lets try Haskell syntax

    map f $ filter p xs
what, don't like the reverse order? That's fixable. If we define # as reverse function application, it's

    xs # filter p # map f
or

    filter p xs # map f
which is quite similar to what you are looking for.