[m-rev.] for review: list_util and map_util

Zoltan Somogyi zs at cs.mu.OZ.AU
Fri Jun 13 18:21:11 AEST 2003


On 13-Jun-2003, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> I have no great problem with adding list_util.m and map_util.m, but I'd
> like to hear a more detailed argument in favour of adding them.

To reduce compilation times when a module uses only the basic functionality
of list or map. To a letter extent, to make the interfaces of those two
modules somewhat smaller, to reduce clutter and avoid scaring novices :-)

> Couldn't the same effect as this proposed change be achieved by
> reordering the interface sections of list.m and map.m and adding a
> big banner comment above the sections for the predicates you propose
> moving, saying something to the effect that one should only bother
> exploring past this point if one hasn't yet seen the right tool for
> the job in mind?

Not the first one.

> I use list.'..' often enough to feel it belongs in list.m

I use some of the moved predicates often too. You still can, just remember
to import list_util as well as list. The compiler will tell you to anyway.

Zoltan.
--------------------------------------------------------------------------
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