diff options
| author | sacerdot | 2004-11-16 15:49:08 +0000 |
|---|---|---|
| committer | sacerdot | 2004-11-16 15:49:08 +0000 |
| commit | b01b06d3a843c97adc6c0a0621b8d681c10fa6fe (patch) | |
| tree | d3f90b1dc590ffd917090290d9fd03e63c094a49 /library | |
| parent | d6c204c70c3b89b5bda4e7779cc4a20b5fa3f63f (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.ml | 1 | ||||
| -rw-r--r-- | library/goptions.ml | 1 | ||||
| -rw-r--r-- | library/goptions.mli | 1 | ||||
| -rw-r--r-- | library/lib.mli | 1 | ||||
| -rw-r--r-- | library/libnames.ml | 1 | ||||
| -rw-r--r-- | library/libnames.mli | 1 | ||||
| -rw-r--r-- | library/libobject.ml | 1 | ||||
| -rw-r--r-- | library/libobject.mli | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/library/declaremods.ml b/library/declaremods.ml index fc11169e8c..e1a27314f9 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 cabd364efe..43c4da14ae 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 46c5bf2e29..4709fc1c84 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 438754a381..4411bcbb63 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 2fe8f724c4..fd5bb21967 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 539aa0b963..b2c32f89be 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 bd5ec7fb15..25d5a329f6 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 8b38911eac..562ba0ce42 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: |
