From 24473ef1954c856907ba8907a4d2c910505125a1 Mon Sep 17 00:00:00 2001 From: ppedrot Date: Wed, 23 May 2012 14:35:52 +0000 Subject: Fixed #2782. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15351 85f007b7-540e-0410-9357-904b9bb8a0f7 --- ide/ideproof.ml | 2 +- ide/ideproof.mli | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 ide/ideproof.mli (limited to 'ide') diff --git a/ide/ideproof.ml b/ide/ideproof.ml index b79d646920..cfbeec0b2e 100644 --- a/ide/ideproof.ml +++ b/ide/ideproof.ml @@ -50,7 +50,7 @@ let mode_tactic sel_cb (proof:GText.view) goals hints = match goals with in let goals_cnt = List.length rem_goals + 1 in let head_str = Printf.sprintf - "%d subgoal%s\n" goals_cnt (if 1 < goals_cnt then "" else "s") + "%d subgoal%s\n" goals_cnt (if 1 < goals_cnt then "s" else "") in let goal_str index total = Printf.sprintf "______________________________________(%d/%d)\n" index total diff --git a/ide/ideproof.mli b/ide/ideproof.mli new file mode 100644 index 0000000000..58b4d0644d --- /dev/null +++ b/ide/ideproof.mli @@ -0,0 +1,15 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* Interface.goal list -> 'a -> unit) -> GText.view -> + Interface.goals option -> 'a -> Interface.evar list option -> unit + +val mode_tactic : + ('a -> unit -> unit) -> GText.view -> Interface.goal list -> + ((string * 'a) list list * (string * 'a) list) option -> unit -- cgit v1.2.3