From 9eeb0905d1d6f2c9e7b9be83660335838d2c1295 Mon Sep 17 00:00:00 2001 From: msozeau Date: Thu, 27 Mar 2008 00:57:38 +0000 Subject: Various fixes on typeclasses: - Better interface in constrintern w.r.t. evars used during typechecking - Add "unsatisfiable_constraints" exception which gives back the raw evar_map that was not satisfied during typeclass search (presentation could be improved). - Correctly infer the minimal sort for typeclasses declared as definitions (everything was in type before). - Really handle priorities in typeclass eauto: goals produced with higher priority (lowest number) instances are tried before other of lower priority goals, regardless of the number of subgoals. - Change inverse to a notation for flip, now that universe polymorphic definitions are handled correctly. - Add EquivalenceDec class similar to SetoidDec, declaring decision procedures for equivalences. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10724 85f007b7-540e-0410-9357-904b9bb8a0f7 --- toplevel/vernacexpr.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toplevel/vernacexpr.ml') diff --git a/toplevel/vernacexpr.ml b/toplevel/vernacexpr.ml index ee0c42aa2..4579d43a6 100644 --- a/toplevel/vernacexpr.ml +++ b/toplevel/vernacexpr.ml @@ -228,7 +228,7 @@ type vernac_expr = | VernacClass of lident * (* name *) local_binder list * (* params *) - sort_expr located * (* arity *) + sort_expr located option * (* arity *) local_binder list * (* constraints *) (lident * bool * constr_expr) list (* props, with substructure hints *) -- cgit v1.2.3