[m-dev.] for review: set__divide

Ralph Becket rbeck at microsoft.com
Thu Jan 4 23:06:07 AEDT 2001


>From Simon Taylor on 04/01/2001 06:14:55
> 
> I agree with you. Maybe we should add a predicate `list__divide/4' which
> is the same as `list__filter/4', and mark `list__filter/4' as obsolete.
> It's annoying when two modules have predicates which do the same thing
> but have different names.

Overloading names between funcs and preds is a pain.  Personally I'd like
to ditch all the preds that have func equivalents in the next version of
the library.

Very minor suggestion: `partition' sounds more obvious than `divide' to
me, if we want a different name to `filter'.

Cheers,

Ralph

--
Ralph Becket      |      MSR Cambridge      |      rbeck at microsoft.com 

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list