[m-dev.] Re: repost after modifications: additions to map/tree234
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Apr 1 17:04:11 AEST 1998
On 01-Apr-1998, Thomas Charles CONWAY <conway at cs.mu.OZ.AU> wrote:
> Fergus Henderson, you write:
> > Yes, indeed. Well, almost. The ordering is the same as it would be for
> > an association list sorted on the keys, but the things you are actually
> > folding are the data elements, not the keys.
>
> map__foldl passes both the key and the value to the accumulator predicate.
> Maybe you're confusing it with map__map_values.
Oops. I think I was actually confusing it with the non-existant
predicate map__foldl_values ;-)
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list