From b01b06d3a843c97adc6c0a0621b8d681c10fa6fe Mon Sep 17 00:00:00 2001 From: sacerdot Date: Tue, 16 Nov 2004 15:49:08 +0000 Subject: 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 --- library/declaremods.ml | 1 + library/goptions.ml | 1 + library/goptions.mli | 1 + library/lib.mli | 1 + library/libnames.ml | 1 + library/libnames.mli | 1 + library/libobject.ml | 1 + library/libobject.mli | 1 + 8 files changed, 8 insertions(+) (limited to 'library') 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: -- cgit v1.2.3