~ubuntu-branches/ubuntu/wily/coq-doc/wily

« back to all changes in this revision

Viewing changes to ide/coq.mli

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu, Stéphane Glondu, Samuel Mimram
  • Date: 2010-01-07 22:50:39 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107225039-n3cq82589u0qt0s2
Tags: 8.2pl1-1
[ Stéphane Glondu ]
* New upstream release (Closes: #563669)
  - remove patches
* Packaging overhaul:
  - use git, advertise it in Vcs-* fields of debian/control
  - use debhelper 7 and dh with override
  - use source format 3.0 (quilt)
* debian/control:
  - set Maintainer to d-o-m, set Uploaders to Sam and myself
  - add Homepage field
  - bump Standards-Version to 3.8.3
* Register PDF documentation into doc-base
* Add debian/watch
* Update debian/copyright

[ Samuel Mimram ]
* Change coq-doc's description to mention that it provides documentation in
  pdf format, not postscript, closes: #543545.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(************************************************************************)
 
2
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
 
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
 
4
(*   \VV/  **************************************************************)
 
5
(*    //   *      This file is distributed under the terms of the       *)
 
6
(*         *       GNU Lesser General Public License Version 2.1        *)
 
7
(************************************************************************)
 
8
 
 
9
(*i $Id: coq.mli 11126 2008-06-13 18:45:04Z herbelin $ i*)
 
10
 
 
11
open Names
 
12
open Term
 
13
open Environ
 
14
open Evd
 
15
 
 
16
val short_version : unit -> string
 
17
val version : unit -> string
 
18
 
 
19
type printing_state = {
 
20
  mutable printing_implicit : bool;
 
21
  mutable printing_coercions : bool;
 
22
  mutable printing_raw_matching : bool;
 
23
  mutable printing_no_notation : bool;
 
24
  mutable printing_all : bool;
 
25
  mutable printing_evar_instances : bool;
 
26
  mutable printing_universes : bool;
 
27
  mutable printing_full_all : bool
 
28
}
 
29
 
 
30
val printing_state : printing_state
 
31
 
 
32
type reset_mark =
 
33
  | ResetToId of Names.identifier
 
34
  | ResetToState of Libnames.object_name
 
35
 
 
36
type reset_status =
 
37
  | NoReset
 
38
  | ResetAtSegmentStart of Names.identifier
 
39
  | ResetAtRegisteredObject of reset_mark
 
40
 
 
41
type undo_info = identifier list
 
42
 
 
43
val undo_info : unit -> undo_info
 
44
 
 
45
type reset_info = reset_status * undo_info * bool ref
 
46
 
 
47
val compute_reset_info : Vernacexpr.vernac_expr -> reset_info
 
48
val reset_initial : unit -> unit
 
49
val reset_to : reset_mark -> unit
 
50
val reset_to_mod : identifier -> unit
 
51
 
 
52
val init : unit -> string list 
 
53
val interp : bool -> string -> reset_info * (Util.loc * Vernacexpr.vernac_expr)
 
54
val interp_last : Util.loc * Vernacexpr.vernac_expr -> unit
 
55
val interp_and_replace : string -> 
 
56
      (reset_info * (Util.loc * Vernacexpr.vernac_expr)) * string
 
57
 
 
58
val is_vernac_tactic_command : Vernacexpr.vernac_expr -> bool
 
59
val is_vernac_state_preserving_command : Vernacexpr.vernac_expr -> bool
 
60
val is_vernac_goal_starting_command : Vernacexpr.vernac_expr -> bool
 
61
val is_vernac_proof_ending_command : Vernacexpr.vernac_expr -> bool
 
62
 
 
63
(* type hyp = (identifier * constr option * constr) * string *)
 
64
 
 
65
type hyp = env * evar_map * 
 
66
           ((identifier*string) * constr option * constr) * (string * string)
 
67
type meta = env * evar_map * string
 
68
type concl = env * evar_map * constr * string
 
69
type goal = hyp list * concl
 
70
 
 
71
val get_current_goals : unit -> goal list
 
72
 
 
73
val get_current_pm_goal : unit -> goal
 
74
 
 
75
val get_current_goals_nb : unit -> int
 
76
 
 
77
val print_no_goal : unit -> string
 
78
 
 
79
val process_exn : exn -> string*(Util.loc option)
 
80
 
 
81
val hyp_menu : hyp -> (string * string) list
 
82
val concl_menu : concl -> (string * string) list
 
83
 
 
84
val is_in_coq_lib : string -> bool
 
85
val is_in_coq_path : string -> bool
 
86
val is_in_loadpath : string -> bool
 
87
 
 
88
val make_cases : string -> string list list
 
89
 
 
90
 
 
91
type tried_tactic = 
 
92
  | Interrupted
 
93
  | Success of int (* nb of goals after *)
 
94
  | Failed
 
95
 
 
96
val try_interptac: string -> tried_tactic
 
97
 
 
98
(* Message to display in lower status bar. *)
 
99
 
 
100
val current_status : unit -> string