3 ms·
> non intuitive It isn't "intuition". It's familiarity from using some other language that used {} syntax. > mysterious ":in" Less mysterious as list co
by igouy 5y ago
> non intuitive
It isn't "intuition". It's familiarity from using some other language that used {} syntax.
> mysterious ":in"
Less mysterious as
list collect: [:each | each + 1 ].
or
list collect: [:element | element + 1 ].