[m-dev.] User defined comparison and equality
Ralph Becket
rafe at cs.mu.OZ.AU
Thu Apr 10 14:05:56 AEST 2003
If a type has user-defined comparison, are unifications in the
in = in is semidet mode implemented as calls to compare((=))?
Otherwise it seems to me that we can have A \= B but
compare((=), A, B).
The requirement that this not be the case is not listed as a
programmer obligation in the reference manual, so it's not clear
to me what happens.
Cheers,
Ralph
--------------------------------------------------------------------------
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