diff options
| author | Maxime Dénès | 2017-12-20 00:38:47 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2017-12-20 00:38:47 +0100 |
| commit | b3b3798fca7fd05f31cb921f981c15ee81507b0d (patch) | |
| tree | 21e626fe84012dac3043bd89b4ed20ac81b89742 /kernel/safe_typing.mli | |
| parent | 7fac7294a1906a8df835e6d7be5bb1bca3f727b5 (diff) | |
| parent | 25f09e86ba1a3ab3c24d5e17336b01315a205e00 (diff) | |
Merge PR #6449: Let definitions must not contain side-effects when reaching the kernel.
Diffstat (limited to 'kernel/safe_typing.mli')
| -rw-r--r-- | kernel/safe_typing.mli | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/safe_typing.mli b/kernel/safe_typing.mli index a30bb37e64..fbc398a2aa 100644 --- a/kernel/safe_typing.mli +++ b/kernel/safe_typing.mli @@ -90,7 +90,7 @@ val push_named_assum : (** Returns the full universe context necessary to typecheck the definition (futures are forced) *) val push_named_def : - Id.t * private_constants Entries.definition_entry -> Univ.ContextSet.t safe_transformer + Id.t * unit Entries.definition_entry -> Univ.ContextSet.t safe_transformer (** Insertion of global axioms or definitions *) @@ -106,8 +106,8 @@ type exported_private_constant = Constant.t * private_constant_role val export_private_constants : in_section:bool -> - private_constants Entries.constant_entry -> - (unit Entries.constant_entry * exported_private_constant list) safe_transformer + private_constants Entries.definition_entry -> + (unit Entries.definition_entry * exported_private_constant list) safe_transformer (** returns the main constant plus a list of auxiliary constants (empty unless one requires the side effects to be exported) *) |
