diff options
author | regisgia <regisgia@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-08-27 09:17:16 +0000 |
---|---|---|
committer | regisgia <regisgia@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-08-27 09:17:16 +0000 |
commit | d4b6a353ed60816a45bb27e406fb9ea06832ce24 (patch) | |
tree | 5dae53f1388c5339257a6aab1767fc7cd2526fff /kernel/safe_typing.ml | |
parent | 4f7c18174a59027cb3dd8493740b32aad2d99fcd (diff) |
* Improve documentation of LightenLibrary.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13378 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/safe_typing.ml')
-rw-r--r-- | kernel/safe_typing.ml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kernel/safe_typing.ml b/kernel/safe_typing.ml index 38eb7b3f2..e384e510b 100644 --- a/kernel/safe_typing.ml +++ b/kernel/safe_typing.ml @@ -844,9 +844,10 @@ let import (dp,mb,depends,engmt) digest senv = some memory space. *) module LightenLibrary : sig type table - type lighten_compiled_library - val save : compiled_library -> lighten_compiled_library * table - val load : load_proof:bool -> (unit -> table) -> lighten_compiled_library -> compiled_library + type lightened_compiled_library + val save : compiled_library -> lightened_compiled_library * table + val load : load_proof:bool -> (unit -> table) + -> lightened_compiled_library -> compiled_library end = struct (* The table is implemented as an array of [constr_substituted]. @@ -858,7 +859,7 @@ end = struct (* To avoid any future misuse of the lightened library that could interpret encoded keys as real [constr_substituted], we hide these kind of values behind an abstract datatype. *) - type lighten_compiled_library = compiled_library + type lightened_compiled_library = compiled_library (* Map a [compiled_library] to another one by just updating the opaque term [t] to [on_opaque_const_body t]. *) |