Email list hosting service & mailing list manager


Arguments reordered in set-unfold and bag-unfold John Cowan 21 Sep 2014 01:10 UTC

I have moved the ''comparator'' argument back to the end of the argument
list of `set-unfold` and `bag-unfold`.  I'm doing this so that all unfolds
will have the same first four arguments: the stop predicate, the mapper
procedure, the successor procedure, and the seed.

Doing this allows the creation of a generic lazy copier from any container
with a for-each procedure to any other container with an unfold procedure.
This will be included in a future SRFI.

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
Values of beeta will give rise to dom!
(5th/6th edition 'mv' said this if you tried to rename '.' or
'..' entries; see http://cm.bell-labs.com/cm/cs/who/dmr/odd.html)