19 Sep
2013
19 Sep
'13
11:26 p.m.
Giovanni Piero Deretta wrote:
On Thu, Sep 19, 2013 at 6:03 PM, Thorsten Ottosen < thorsten.ottosen@dezide.com> wrote:
IMHO the pipe syntax should just be a shorthand for (left associative) function application, i.e.:
x | f
should simply be a equivalent to
f(x)
This way there would be no fear of confusing concepts and it would be of more general application and would interact in a powerful way with partial application (i.e. bind).
+1 - I would like to see it as a utility library for composing unary function objects whose arguments and return types match up. It's to interesting and useful to be part of boost range. Taking it out of boost.range would also simplify boost range. Robert Ramey .