diff options
Diffstat (limited to 'checker/safe_typing.ml')
-rw-r--r-- | checker/safe_typing.ml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/checker/safe_typing.ml b/checker/safe_typing.ml index 38f5aacf3..a5575892f 100644 --- a/checker/safe_typing.ml +++ b/checker/safe_typing.ml @@ -78,9 +78,10 @@ type compiled_library = 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]. @@ -92,7 +93,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]. *) |