[m-dev.] for review: bug fix for multiparameter typeclasses
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Oct 13 18:09:47 AEDT 2000
On 13-Oct-2000, David Glen Jeffery <dgj at students.cs.mu.oz.au> wrote:
> + %
> + % The list(tvar) argument contains all the variables from the
> + % original constraint that we are trying to prove. (These are the
> + % type variables that must not be found as we search through the
> + % superclass relation).
> +:- pred eliminate_constraint_by_class_rules(class_constraint, list(tvar),
s/found/bound/ ?
> + % Do the first level of search. We search for
> + % a assumed constraint which unifies with any
> + % of the subclass constraints.
s/a assumed constraint/an assumed constraint/
> + NotSub = (pred(TheConstraint::in) is semidet :-
> + not (some [SubConstraint] (
SubConstraint is a singleton variable here.
I think you meant SubClassConstraint...
Otherwise, that change looks fine. Thanks.
--
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