aboutsummaryrefslogtreecommitdiff
path: root/vernac/comAssumption.mli
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-06-21 20:14:46 +0200
committerEmilio Jesus Gallego Arias2019-07-01 19:34:58 +0200
commit66e52c88076ba830c8c8b3cf8e4bb77959fb7843 (patch)
treeebb11957cdbad0e418ef7bb69cb75489c47ba6f6 /vernac/comAssumption.mli
parentb78a4f8afc6180c1d435258af681d354e211cab2 (diff)
[api] Refactor most of `Decl_kinds`
We move the bulk of `Decl_kinds` to a better place [namely `interp/decls`] and refactor the use of this information quite a bit. The information seems to be used almost only for `Dumpglob`, so it certainly should end there to achieve a cleaner core. Note the previous commits, as well as the annotations regarding the dubious use of the "variable" data managed by the `Decls` file. IMO this needs more work, but this should be a good start.
Diffstat (limited to 'vernac/comAssumption.mli')
-rw-r--r--vernac/comAssumption.mli5
1 files changed, 2 insertions, 3 deletions
diff --git a/vernac/comAssumption.mli b/vernac/comAssumption.mli
index 57b4aea9e3..028ed39656 100644
--- a/vernac/comAssumption.mli
+++ b/vernac/comAssumption.mli
@@ -11,7 +11,6 @@
open Names
open Vernacexpr
open Constrexpr
-open Decl_kinds
(** {6 Parameters/Assumptions} *)
@@ -19,7 +18,7 @@ val do_assumptions
: program_mode:bool
-> poly:bool
-> scope:DeclareDef.locality
- -> kind:assumption_object_kind
+ -> kind:Decls.assumption_object_kind
-> Declaremods.inline
-> (ident_decl list * constr_expr) with_coercion list
-> bool
@@ -30,7 +29,7 @@ val declare_assumption
: coercion_flag
-> poly:bool
-> scope:DeclareDef.locality
- -> kind:assumption_object_kind
+ -> kind:Decls.assumption_object_kind
-> Constr.types
-> Entries.universes_entry
-> UnivNames.universe_binders