[m-dev.] diff: remove support for cuts

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Mar 28 13:23:52 AEST 2000


On 28-Mar-2000, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
> Remove support for cuts in Mercury code.
> 
> library/builtin.m:
> 	Remove the ! predicate.

That change breaks backwards compatibility.  You should not remove it, you
should instead add a `pragma obsolete' declaration for it, and then wait a
couple of releases before removing it.  This change should be mentioned in the
NEWS file.

Also the ! predicate might still be useful for people converting Prolog code
to Mercury, so I suggest that it be moved to library/prolog.m rather than
being removed altogether.

> library/*.m:
> compiler/*.m:
> 	Remove calls to !.

Those changes are fine.

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