aboutsummaryrefslogtreecommitdiff
path: root/proofs/proofview.ml
diff options
context:
space:
mode:
authoraspiwack2011-09-12 10:04:25 +0000
committeraspiwack2011-09-12 10:04:25 +0000
commit03b99149b5ab569be43d6cb3d34fb4766931074d (patch)
tree7a99e224c95c8e4b40372bdcf6880a11ece24799 /proofs/proofview.ml
parent0c0481a2fdea2e5efb30d9cd11563e04c2861077 (diff)
Adds a new command Show Goal (e.g. Show Goal "42") printing a goal using the uid returned by Goal.uid.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14467 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'proofs/proofview.ml')
-rw-r--r--proofs/proofview.ml6
1 files changed, 6 insertions, 0 deletions
diff --git a/proofs/proofview.ml b/proofs/proofview.ml
index 3964692b10..b76c802dfd 100644
--- a/proofs/proofview.ml
+++ b/proofs/proofview.ml
@@ -433,6 +433,12 @@ let tclSENSITIVE s =
fun env -> { go = fun sk fk step -> sk () fk (sensitive_on_step s env step) }
end
+
+(*** Commands ***)
+
+let in_proofview p k =
+ k p.solution
+
module Notations = struct
let (>-) = Goal.bind
let (>>-) = tclGOALBINDU