diff options
| author | Emilio Jesus Gallego Arias | 2017-12-13 21:26:48 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2017-12-17 10:56:07 +0100 |
| commit | 1172b52735a299dfc91aee36b30b576dfeff581c (patch) | |
| tree | 67c42534af08f70d0eeefe78245483867cdb1248 /API/API.mli | |
| parent | 7a5688f6e2421a706c16e23e445d42f39a82e74b (diff) | |
[flags] Make program_mode a parameter for commands in vernac.
This is useful as it allows to reflect program_mode behavior as an attribute.
Diffstat (limited to 'API/API.mli')
| -rw-r--r-- | API/API.mli | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/API/API.mli b/API/API.mli index 8386133521..ce33e90296 100644 --- a/API/API.mli +++ b/API/API.mli @@ -6052,7 +6052,9 @@ end module ComDefinition : sig - val do_definition : Names.Id.t -> Decl_kinds.definition_kind -> Vernacexpr.universe_decl_expr option -> + val do_definition : + program_mode:bool -> + Names.Id.t -> Decl_kinds.definition_kind -> Vernacexpr.universe_decl_expr option -> Constrexpr.local_binder_expr list -> Redexpr.red_expr option -> Constrexpr.constr_expr -> Constrexpr.constr_expr option -> unit Lemmas.declaration_hook -> unit end @@ -6134,6 +6136,7 @@ sig ?abstract:bool -> ?global:bool -> ?refine:bool -> + program_mode:bool -> Decl_kinds.polymorphic -> Constrexpr.local_binder_expr list -> Vernacexpr.typeclass_constraint -> |
