aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/proofview.mli
diff options
context:
space:
mode:
authorGravatar aspiwack <aspiwack@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-11-02 15:35:08 +0000
committerGravatar aspiwack <aspiwack@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-11-02 15:35:08 +0000
commitd45d2232e9dae87162a841a21cc708769259a184 (patch)
treeea4ddfc4c74f8b3fa60144bd7c80d9ec72ff5558 /proofs/proofview.mli
parent75a1dffa93afa21a686883ba20dc8d2988a97b14 (diff)
Cleanup of comments.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16976 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'proofs/proofview.mli')
-rw-r--r--proofs/proofview.mli17
1 files changed, 9 insertions, 8 deletions
diff --git a/proofs/proofview.mli b/proofs/proofview.mli
index 2a69ccaf3..d2db5be9a 100644
--- a/proofs/proofview.mli
+++ b/proofs/proofview.mli
@@ -158,14 +158,15 @@ val tclIFCATCH : 'a tactic -> ('a -> 'b tactic) -> (exn -> 'b tactic) -> 'b tact
val tclFOCUS : int -> int -> 'a tactic -> 'a tactic
(* Dispatch tacticals are used to apply a different tactic to each goal under
- consideration. They come in two flavours:
- [tclDISPATCH] takes a list of [unit tactic]-s and build a [unit tactic].
- [tclDISPATCHS] takes a list of ['a sensitive tactic] and returns and returns
- and ['a sensitive tactic] where the ['a sensitive] interpreted in a goal [g]
- corresponds to that of the tactic which created [g].
- It is to be noted that the return value of [tclDISPATCHS ts] makes only
- sense in the goals immediatly built by it, and would cause an anomaly
- is used otherwise. *)
+ consideration. They come in two flavours:
+ [tclDISPATCH] takes a list of [unit tactic]-s and build a [unit tactic].
+ [tclDISPATCHL] takes a list of ['a tactic] and returns an ['a list tactic].
+
+ They both work by applying each of the tactic to the corresponding
+ goal (starting with the first goal). In the case of [tclDISPATCHL],
+ the tactic returns a list of the same size as the argument list (of
+ tactics), each element being the result of the tactic executed in
+ the corresponding goal. *)
val tclDISPATCH : unit tactic list -> unit tactic
val tclDISPATCHL : 'a tactic list -> 'a list tactic