From d5fece25d8964d5d9fcd55b66164286aeef5fb9f Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Thu, 14 Aug 2014 20:44:03 +0200 Subject: Reorganization of tactics: - made "apply" tactics of type Proofview.tactic, as well as other inner functions about elim and assert - used same hypothesis naming policy for intros and internal_cut (towards a reorganization of intro patterns) - "apply ... in H as pat" now supports any kind of introduction pattern (doc not changed) --- plugins/cc/cctac.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/cc') diff --git a/plugins/cc/cctac.ml b/plugins/cc/cctac.ml index 70aaa0c0fc..3151a7ec75 100644 --- a/plugins/cc/cctac.ml +++ b/plugins/cc/cctac.ml @@ -486,7 +486,7 @@ let f_equal = else Tacticals.New.tclTRY (Tacticals.New.tclTHEN ((new_app_global _eq [|ty; c1; c2|]) Tactics.cut) - (Tacticals.New.tclTRY ((new_app_global _refl_equal [||]) (fun c -> Proofview.V82.tactic (apply c))))) + (Tacticals.New.tclTRY ((new_app_global _refl_equal [||]) apply))) with e when Proofview.V82.catchable_exception e -> Proofview.tclZERO e in Proofview.tclORELSE -- cgit v1.2.3