[m-rev.] for review: add transform_value predicate to map.

Mark Brown mark at cs.mu.OZ.AU
Wed Jan 12 19:46:27 AEDT 2005


On 12-Jan-2005, Ian MacLarty <maclarty at cs.mu.OZ.AU> wrote:
> For review by anyone.
> 
> Estimated hours taken: 2
> Branches: main
> 
> Add transform_value predicate to map, tree234 and rbtree.  This applies
> a higher order argument to a value in the map.  Often a value needs to be 
> updated using its previous value, currently requiring two lookups of the
> key.  With transform_value only one lookup is required.

That looks fine.

Cheers,
Mark.

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list