aboutsummaryrefslogtreecommitdiff
path: root/kernel/typing.mli
diff options
context:
space:
mode:
authorfilliatr1999-09-19 14:17:35 +0000
committerfilliatr1999-09-19 14:17:35 +0000
commit76e3b2928b766a76ee7e29dd3f6867cd48f95a52 (patch)
tree5a5a73ee8770cba524b8c24892f709a308e9ab3b /kernel/typing.mli
parent5393ee683be9e19ab25888925f561ea4f4b1dddb (diff)
- un effort sur la doc (ocamlweb)
- module Nametab - module Impargs - correction bug : Parameter id : t => vérification que t est bien un type git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@76 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/typing.mli')
-rw-r--r--kernel/typing.mli7
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/typing.mli b/kernel/typing.mli
index 0167c8cd9c..6397729463 100644
--- a/kernel/typing.mli
+++ b/kernel/typing.mli
@@ -14,7 +14,10 @@ open Environ
open Typeops
(*i*)
-(*s Safe environments. *)
+(*s Safe environments. Since we are now able to type terms, we can define an
+ abstract type of safe environments, where objects are typed before being
+ added. Internally, the datatype is still [unsafe_env]. We re-export the
+ functions of [Environ] for the new type [environment]. *)
type 'a environment
@@ -44,6 +47,8 @@ val lookup_meta : int -> 'a environment -> constr
val export : 'a environment -> string -> compiled_env
val import : compiled_env -> 'a environment -> 'a environment
+val unsafe_env_of_env : 'a environment -> 'a unsafe_env
+
(*s Typing without information. *)
type judgment