diff options
| -rw-r--r-- | ide/ideproof.ml | 2 | ||||
| -rw-r--r-- | ide/ideproof.mli | 15 |
2 files changed, 16 insertions, 1 deletions
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 *) +(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2010 *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +val display : + (GText.view -> 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 |
