[m-rev.] For review: Allow custom functor to element mappings in term_to_xml

Mark Brown mark at cs.mu.OZ.AU
Fri Dec 10 02:51:12 AEDT 2004


On 09-Dec-2004, Ian MacLarty <maclarty at cs.mu.OZ.AU> wrote:
> +			list.map(yessify, Functors, MaybeFunctors),

You should consider using the functional version in these situations:

	MaybeFunctors = list.map((func(F) = yes(F)), Functors)

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