[squeak-dev] Symbol>>cull:

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sun Oct 10 13:10:44 UTC 2010


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



More information about the Squeak-dev mailing list