On Sun, 10 Oct 2010, Nicolas Cellier wrote:
> We recently added #value: to Symbol to be able to use it in place of a
> one arg block.
>
> (1 to: 10) select: #even.
>
> It would be logical to add #cull: too, xtreams tests use this for example:
> output write: #[ 1 2 3 4 5 6 7 8 9 ].
> self assert: ((input rejecting: #even) read: 5) = #[ 1 3 5 7 9 ]
>
> Any objection to add it in core ?
> (otherwise i will add it to Xtreams-VWCompatible)
I prepared the necessary changes to Squeak a few months ago, but didn't
push them to the Trunk. Henrik added them to Pharo 1.2 though.
Levente
>
> Nicolas
>
> _______________________________________________
> Pharo-project mailing list
>
[hidden email]
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project>
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project