aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/typeclasses.mli
diff options
context:
space:
mode:
authorGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-09-28 19:17:41 +0000
committerGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-09-28 19:17:41 +0000
commiteab82e1f4d3c43c894383d54bbfcf9eea112de94 (patch)
treeb6a9ab43a8de5dcb9e8f992b15aba76ce8fb14b3 /pretyping/typeclasses.mli
parent49114c2ec22d8a238a1e939dbc233da7e99d59cb (diff)
Fix bug #2321, allowing "_" named projections in classes. Not realizing
the wish to allow named projections to not be put in the canonical structures databases for Structures. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13474 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/typeclasses.mli')
-rw-r--r--pretyping/typeclasses.mli7
1 files changed, 4 insertions, 3 deletions
diff --git a/pretyping/typeclasses.mli b/pretyping/typeclasses.mli
index 15cc95c93..871da5511 100644
--- a/pretyping/typeclasses.mli
+++ b/pretyping/typeclasses.mli
@@ -32,9 +32,10 @@ type typeclass = {
(** Context of definitions and properties on defs, will not be shared *)
cl_props : rel_context;
- (** The methods implementations of the typeclass as projections. Some may be undefinable due to
- sorting restrictions. *)
- cl_projs : (identifier * constant option) list;
+ (** The methods implementations of the typeclass as projections.
+ Some may be undefinable due to sorting restrictions or simply undefined if
+ no name is provided. *)
+ cl_projs : (name * constant option) list;
}
type instance