[m-dev.] Re: [mercury-users] Mutual Exclusivity & Exhaustiveness

Lars Yencken lljy at students.cs.mu.oz.au
Fri Jan 4 15:57:31 AEDT 2002


> No -- if you declare that this disjunction has exactly one solution,
> then the compiler could safely infer that any disjunction
> containing a subset of the disjuncts has at most one solution.
> Hence it should consider such switches to be semidet rather than nondet.
> 
> So there's no difference between mutual exclusivity and
> `promise_exactly_one_solution' here.

Sorry, you're right ;)
--------------------------------------------------------------------------
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