leves at elte.hu
Sun Oct 10 10:43:26 EDT 2010
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.
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
More information about the Pharo-dev