pipe

Jason Johnson jason.johnson.081 at gmail.com
Sat Aug 25 18:18:08 UTC 2007


On 8/25/07, Igor Stasenko <siguctua at gmail.com> wrote:
> >
> let me elaborate:
>
> a message1 | message2
>
> is equal to:
>
> a message1 message2
>
> and:
>
> a message1: param | message2: param2
>
> is equeal to:
>
> (a message1: param) message2: param2
>
>
> and as you can see writing code with so-called 'pipes' makes code much cleaner

It is true that it can be nice to avoid using so many parenthesis.
This is why Haskell made the $ operator which does precisely the same
thing.

But this issue has nothing to do with the very useful and needed
cascade operator.



More information about the Squeak-dev mailing list