[m-dev.] for review: new predicates in map.m

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Oct 20 20:40:56 AEST 1998


On 20-Oct-1998, Andrew Bromage <bromage at cs.mu.OZ.AU> wrote:
> > +	% Calls map__intersect. Abort (with the last argument as the message)
> > +	% if map__intersect fails.
...
> Making the last argument the message seems to be a bit of a novelty as
> far as the library goes.  For consistency, it might be better for the
> implementation to supply a neutral error message, and if you need
> something more specific, use if-then-else and error/1.

Yep, I agree.  A nice implementation will give you a stack trace anyway.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list