From c8c1723747c7e0eb748861cc12aecca411848f4c Mon Sep 17 00:00:00 2001 From: Gaëtan Gilbert Date: Wed, 30 Sep 2020 12:25:02 +0200 Subject: First list in cl_context is just booleans Used only by implicit_quantifiers --- pretyping/typeclasses.mli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pretyping/typeclasses.mli') diff --git a/pretyping/typeclasses.mli b/pretyping/typeclasses.mli index 3f84d08a7e..ea67ca273e 100644 --- a/pretyping/typeclasses.mli +++ b/pretyping/typeclasses.mli @@ -36,9 +36,9 @@ type typeclass = { (** The class implementation: a record parameterized by the context with defs in it or a definition if the class is a singleton. This acts as the class' global identifier. *) - cl_context : GlobRef.t option list * Constr.rel_context; + cl_context : bool list * Constr.rel_context; (** Context in which the definitions are typed. Includes both typeclass parameters and superclasses. - The global reference gives a direct link to the class itself. *) + The bool says whether we are at a class. *) cl_props : Constr.rel_context; (** Context of definitions and properties on defs, will not be shared *) -- cgit v1.2.3 From e23be6ebc7d9c9842f8c1036e145fb15c3154e17 Mon Sep 17 00:00:00 2001 From: Gaëtan Gilbert Date: Wed, 30 Sep 2020 12:54:59 +0200 Subject: Remove unused is_class info from cl_context --- pretyping/typeclasses.mli | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pretyping/typeclasses.mli') diff --git a/pretyping/typeclasses.mli b/pretyping/typeclasses.mli index ea67ca273e..b749b978c3 100644 --- a/pretyping/typeclasses.mli +++ b/pretyping/typeclasses.mli @@ -36,9 +36,9 @@ type typeclass = { (** The class implementation: a record parameterized by the context with defs in it or a definition if the class is a singleton. This acts as the class' global identifier. *) - cl_context : bool list * Constr.rel_context; - (** Context in which the definitions are typed. Includes both typeclass parameters and superclasses. - The bool says whether we are at a class. *) + cl_context : Constr.rel_context; + (** Context in which the definitions are typed. + Includes both typeclass parameters and superclasses. *) cl_props : Constr.rel_context; (** Context of definitions and properties on defs, will not be shared *) -- cgit v1.2.3