diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2018-03-10 23:41:05 +0100 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2018-04-02 06:54:30 +0200 |
commit | b0fcd54d69c2f404a17f7bbcd0426c0bac0080f7 (patch) | |
tree | 57459c894491fea0d9d4b31c744bc704997dd822 /tactics/tactics.mli | |
parent | f29f8f80c8ad94576c7a36f3f638866c208338a0 (diff) |
[api] Move some types to their proper module.
We solve some modularity and type duplication problems by moving types
to a better place. In particular:
- We move tactics types from `Misctypes` to `Tactics` as this is their
proper module an single user [with LTAC].
- We deprecate aliases in `Tacexpr` to such tactic types.
cc: #6512
Diffstat (limited to 'tactics/tactics.mli')
-rw-r--r-- | tactics/tactics.mli | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tactics/tactics.mli b/tactics/tactics.mli index 079baa3ef..7809dbf48 100644 --- a/tactics/tactics.mli +++ b/tactics/tactics.mli @@ -95,6 +95,14 @@ val try_intros_until : (** Apply a tactic on a quantified hypothesis, an hypothesis in context or a term with bindings *) +type 'a core_destruction_arg = + | ElimOnConstr of 'a + | ElimOnIdent of lident + | ElimOnAnonHyp of int + +type 'a destruction_arg = + clear_flag * 'a core_destruction_arg + val onInductionArg : (clear_flag -> constr with_bindings -> unit Proofview.tactic) -> constr with_bindings destruction_arg -> unit Proofview.tactic |