aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/refiner.ml
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-03-14 21:29:19 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-03-14 21:29:19 +0000
commit208f162ab68d00488248ee052947592dd23d5d52 (patch)
tree4009b4e1da390933e5ccfc878390478041c6679a /proofs/refiner.ml
parent4b7200cbbf4f2462d6f1398a191377b4d57f7655 (diff)
Cleaning/uniformizing the interface of tacticals.mli
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11980 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'proofs/refiner.ml')
-rw-r--r--proofs/refiner.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/proofs/refiner.ml b/proofs/refiner.ml
index 7a66067cd..9dd35a8c2 100644
--- a/proofs/refiner.ml
+++ b/proofs/refiner.ml
@@ -448,8 +448,9 @@ let rec tclTHENLIST = function
[] -> tclIDTAC
| t1::tacl -> tclTHEN t1 (tclTHENLIST tacl)
-
-
+(* [tclMAP f [x1..xn]] builds [(f x1);(f x2);...(f xn)] *)
+let tclMAP tacfun l =
+ List.fold_right (fun x -> (tclTHEN (tacfun x))) l tclIDTAC
(* various progress criterions *)
let same_goal gl subgoal =