[m-rev.] Handle polymorphic inequality goals

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Oct 24 16:57:19 AEST 2002


What's the rationale for this change?

On 24-Oct-2002, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> Simplification now applies the following transformations on the
> builtin inequalities:
> 
> 	X  < Y	--->	some [R] (compare(R, X, Y), R  = (<))
> 	X =< Y	--->	some [R] (compare(R, X, Y), R \= (>))
> 	X >  Y	--->	some [R] (compare(R, X, Y), R  = (>))
> 	X >= Y	--->	some [R] (compare(R, X, Y), R \= (<))

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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