aboutsummaryrefslogtreecommitdiffhomepage
path: root/library
diff options
context:
space:
mode:
authorGravatar sacerdot <sacerdot@85f007b7-540e-0410-9357-904b9bb8a0f7>2004-11-16 15:49:08 +0000
committerGravatar sacerdot <sacerdot@85f007b7-540e-0410-9357-904b9bb8a0f7>2004-11-16 15:49:08 +0000
commitb01b06d3a843c97adc6c0a0621b8d681c10fa6fe (patch)
treed3f90b1dc590ffd917090290d9fd03e63c094a49 /library
parentd6c204c70c3b89b5bda4e7779cc4a20b5fa3f63f (diff)
Names.substitution (and related functions) and Term.subst_mps moved to
the new module kernel/mod_subst.ml. MOTIVATION: mod_subst is compiled after kernel/term.ml; thus it is now possible to define substitutions that also delta-expand constants (by associating the delta-expanded form to the constant name). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6304 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library')
-rw-r--r--library/declaremods.ml1
-rw-r--r--library/goptions.ml1
-rw-r--r--library/goptions.mli1
-rw-r--r--library/lib.mli1
-rw-r--r--library/libnames.ml1
-rw-r--r--library/libnames.mli1
-rw-r--r--library/libobject.ml1
-rw-r--r--library/libobject.mli1
8 files changed, 8 insertions, 0 deletions
diff --git a/library/declaremods.ml b/library/declaremods.ml
index fc11169e8..e1a27314f 100644
--- a/library/declaremods.ml
+++ b/library/declaremods.ml
@@ -17,6 +17,7 @@ open Libnames
open Libobject
open Lib
open Nametab
+open Mod_subst
(* modules and components *)
diff --git a/library/goptions.ml b/library/goptions.ml
index cabd364ef..43c4da14a 100644
--- a/library/goptions.ml
+++ b/library/goptions.ml
@@ -17,6 +17,7 @@ open Names
open Libnames
open Term
open Nametab
+open Mod_subst
(****************************************************************************)
(* 0- Common things *)
diff --git a/library/goptions.mli b/library/goptions.mli
index 46c5bf2e2..4709fc1c8 100644
--- a/library/goptions.mli
+++ b/library/goptions.mli
@@ -59,6 +59,7 @@ open Names
open Libnames
open Term
open Nametab
+open Mod_subst
(*i*)
(*s Things common to tables and options. *)
diff --git a/library/lib.mli b/library/lib.mli
index 438754a38..4411bcbb6 100644
--- a/library/lib.mli
+++ b/library/lib.mli
@@ -14,6 +14,7 @@ open Names
open Libnames
open Libobject
open Summary
+open Mod_subst
(*i*)
(*s This module provides a general mechanism to keep a trace of all operations
diff --git a/library/libnames.ml b/library/libnames.ml
index 2fe8f724c..fd5bb2196 100644
--- a/library/libnames.ml
+++ b/library/libnames.ml
@@ -13,6 +13,7 @@ open Util
open Names
open Nameops
open Term
+open Mod_subst
type global_reference =
| VarRef of variable
diff --git a/library/libnames.mli b/library/libnames.mli
index 539aa0b96..b2c32f89b 100644
--- a/library/libnames.mli
+++ b/library/libnames.mli
@@ -13,6 +13,7 @@ open Pp
open Util
open Names
open Term
+open Mod_subst
(*i*)
(*s Global reference is a kernel side type for all references together *)
diff --git a/library/libobject.ml b/library/libobject.ml
index bd5ec7fb1..25d5a329f 100644
--- a/library/libobject.ml
+++ b/library/libobject.ml
@@ -11,6 +11,7 @@
open Util
open Names
open Libnames
+open Mod_subst
(* The relax flag is used to make it possible to load files while ignoring
failures to incorporate some objects. This can be useful when one
diff --git a/library/libobject.mli b/library/libobject.mli
index 8b38911ea..562ba0ce4 100644
--- a/library/libobject.mli
+++ b/library/libobject.mli
@@ -11,6 +11,7 @@
(*i*)
open Names
open Libnames
+open Mod_subst
(*i*)
(* [Libobject] declares persistent objects, given with methods: