[m-dev.] Re: repost after modifications: additions to map/tree234
    Thomas Charles CONWAY 
    conway at cs.mu.OZ.AU
       
    Sat Apr  4 08:29:06 AEST 1998
    
    
  
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.
Thomas
-- 
Thomas Conway    || conway at cs.mu.oz.au
AD DEUM ET VINUM || Nail here [] for new monitor.
    
    
More information about the developers
mailing list