[mercury-users] boolean expressions from semidet predicates

Julien Fischer juliensf at cs.mu.OZ.AU
Fri May 12 08:49:42 AEST 2006


On Fri, 12 May 2006, Nicholas Nethercote wrote:

> Is there a way to easily write an equality as a closure?  (And a lambda
> expression doesn't count as easy in my book.)  Eg. is there a built-in
> predicate equals/2 that is the same as '=', or similar?

unify/2.

Julien.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list