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)

Nicolas

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to