pipe

Hans-Martin Mosner hmm at heeg.de
Sat Aug 25 20:14:45 UTC 2007


tim Rowledge schrieb:
>
>   x = y | y > 3
Better use parentheses here: x = y | (y > 3)
With #> you will at least get an exception because Boolean does not
understand #>, but when you use #= instead the code will work but
produce unexpected results when x = y but y ~= 3.

Cheers,
Hans-Martin



More information about the Squeak-dev mailing list