aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/libnames.mli
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2005-05-20 15:54:50 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2005-05-20 15:54:50 +0000
commitd0a324eef4d35a87e300a2b660b26fdbe2043d92 (patch)
treed223b5752d1421944fc0bcffcaf2ec49661d7114 /library/libnames.mli
parentf95411d169c8d636e980de3a38bb02c72c3b4965 (diff)
Adoption du nom canonique global_of_constr pour éviter confusion avec type reference
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7052 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/libnames.mli')
-rw-r--r--library/libnames.mli9
1 files changed, 5 insertions, 4 deletions
diff --git a/library/libnames.mli b/library/libnames.mli
index 43e31d08f..a9051623f 100644
--- a/library/libnames.mli
+++ b/library/libnames.mli
@@ -28,11 +28,12 @@ val subst_global : substitution -> global_reference -> global_reference * constr
(* Turn a global reference into a construction *)
val constr_of_global : global_reference -> constr
-(* Obsolete synonym for constr_of_global *)
-val constr_of_reference : global_reference -> constr
+(* Turn a construction denoting a global reference into a global reference;
+ raise [Not_found] if not a global reference *)
+val global_of_constr : constr -> global_reference
-(* Turn a construction denoting a global into a reference;
- raise [Not_found] if not a global *)
+(* Obsolete synonyms for constr_of_global and global_of_constr *)
+val constr_of_reference : global_reference -> constr
val reference_of_constr : constr -> global_reference
module Refset : Set.S with type elt = global_reference