pipe

Igor Stasenko siguctua at gmail.com
Sat Aug 25 19:32:29 UTC 2007


As observation..

This discussion is a good example of purists who trowing away any new
ideas just because they 'don't follow standard' or 'can be done with
current syntax'.

Honestly i see no harm in adding a pipe '|' symbol as a special syntax
symbol, like cascade ';' or period '.'
A pipe is like continuation which simply does: evaluate expression to
the left, then continue evaluation with expression to the right,
taking left result as receiver.
We need only minor changes to parser to add this syntax sugar, and no
changes in complier because it don't breaks old syntax or message
passing semantics.



More information about the Squeak-dev mailing list