aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/assumptions.ml
diff options
context:
space:
mode:
authorGravatar ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-12-14 15:56:25 +0000
committerGravatar ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-12-14 15:56:25 +0000
commit67f5c70a480c95cfb819fc68439781b5e5e95794 (patch)
tree67b88843ba54b4aefc7f604e18e3a71ec7202fd3 /library/assumptions.ml
parentcc03a5f82efa451b6827af9a9b42cee356ed4f8a (diff)
Modulification of identifier
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16071 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/assumptions.ml')
-rw-r--r--library/assumptions.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/assumptions.ml b/library/assumptions.ml
index 7d85b362a..1f6c8eeeb 100644
--- a/library/assumptions.ml
+++ b/library/assumptions.ml
@@ -24,7 +24,7 @@ open Mod_subst
let cst_ord k1 k2 = kn_ord (canonical_con k1) (canonical_con k2)
type context_object =
- | Variable of identifier (* A section variable or a Let definition *)
+ | Variable of Id.t (* A section variable or a Let definition *)
| Axiom of constant (* An axiom or a constant. *)
| Opaque of constant (* An opaque constant. *)
| Transparent of constant
@@ -35,7 +35,7 @@ struct
type t = context_object
let compare x y =
match x , y with
- | Variable i1 , Variable i2 -> id_ord i1 i2
+ | Variable i1 , Variable i2 -> Id.compare i1 i2
| Axiom k1 , Axiom k2 -> cst_ord k1 k2
| Opaque k1 , Opaque k2 -> cst_ord k1 k2
| Transparent k1 , Transparent k2 -> cst_ord k1 k2