diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2014-08-18 17:13:19 +0200 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2014-08-18 18:56:39 +0200 |
commit | 72498d6d68ac12ba4db0db7d54f0ac6fdaaf0c61 (patch) | |
tree | 79c10bf2a989cab52970046f1a87714f44926a2a /plugins | |
parent | 924771d6fdd1349955c2d0f500ccf34c2109507b (diff) |
Adding a new intro-pattern for "apply in" on the fly. Using syntax
"pat/term" for "apply term on current_hyp as pat".
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/funind/g_indfun.ml4 | 2 | ||||
-rw-r--r-- | plugins/funind/indfun.mli | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/funind/g_indfun.ml4 b/plugins/funind/g_indfun.ml4 index 1d63fe01a..e688204a4 100644 --- a/plugins/funind/g_indfun.ml4 +++ b/plugins/funind/g_indfun.ml4 @@ -80,7 +80,7 @@ END let pr_intro_as_pat prc _ _ pat = match pat with | Some pat -> - spc () ++ str "as" ++ spc () ++ Miscprint.pr_intro_pattern pat + spc () ++ str "as" ++ spc () ++ Miscprint.pr_intro_pattern prc pat | None -> mt () let out_disjunctive = function diff --git a/plugins/funind/indfun.mli b/plugins/funind/indfun.mli index f88a72ff5..34985f2c4 100644 --- a/plugins/funind/indfun.mli +++ b/plugins/funind/indfun.mli @@ -10,7 +10,7 @@ val functional_induction : bool -> Term.constr -> (Term.constr * Term.constr bindings) option -> - or_and_intro_pattern_expr Loc.located option -> + Term.constr or_and_intro_pattern_expr Loc.located option -> Proof_type.goal Tacmach.sigma -> Proof_type.goal list Evd.sigma |