From 21c8f5d0b74e72f61a086d92660d25ce35c482b7 Mon Sep 17 00:00:00 2001 From: msozeau Date: Mon, 16 Jun 2008 10:17:13 +0000 Subject: Add possibility to match on defined hypotheses, using brackets to disambiguate syntax: [ H := [ ?x ] : context C [ foo ] |- _ ] is ok, as well as [ H := ?x : nat |- _ ] or [H := foo |- _ ], but [ H := ?x : context C [ foo ] ] will not parse. Add applicative contexts in tactics match, to be able to match arbitrary partial applications, e.g.: match f 0 1 2 with appcontext C [ f ?x ] => ... end will bind C to [ ∙ 1 2 ] and x to 0. Minor improvements in coqdoc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11129 85f007b7-540e-0410-9357-904b9bb8a0f7 --- proofs/tactic_debug.mli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proofs/tactic_debug.mli') diff --git a/proofs/tactic_debug.mli b/proofs/tactic_debug.mli index 6da6dc61c..ab59f208a 100644 --- a/proofs/tactic_debug.mli +++ b/proofs/tactic_debug.mli @@ -45,7 +45,7 @@ val db_pattern_rule : (* Prints a matched hypothesis *) val db_matched_hyp : - debug_info -> env -> identifier * constr -> name -> unit + debug_info -> env -> identifier * constr option * constr -> name -> unit (* Prints the matched conclusion *) val db_matched_concl : debug_info -> env -> constr -> unit -- cgit v1.2.3