[ENH] mapcan

ok at cs.otago.ac.nz ok at cs.otago.ac.nz
Mon Jun 23 00:52:10 UTC 2003


from preamble:

"Change Set:		mapcan
Date:			23 June 2003
Author:			Richard A. O'Keefe

This adds a method #concatenation to
SequenceableCollection so that a sequence
of collections can be concatenated to form
a single Array.  Brian Pinkney needed a
Squeak analogue of the Common Lisp
#'mapcan function, and
(seq collect: aBlock) concatenation
seemed like the simplest and most reusable
way to do it."!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapcan.cs.gz
Type: application/octet-stream
Size: 484 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030623/bc447bfb/mapcan.cs.obj


More information about the Squeak-dev mailing list