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

« back to all changes in this revision

Viewing changes to toplevel/classes.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: classes.mli 11709 2008-12-20 11:42:15Z msozeau $ i*)
 
10
 
 
11
(*i*)
 
12
open Names
 
13
open Decl_kinds
 
14
open Term
 
15
open Sign
 
16
open Evd
 
17
open Environ
 
18
open Nametab
 
19
open Mod_subst
 
20
open Topconstr
 
21
open Util
 
22
open Typeclasses
 
23
open Implicit_quantifiers
 
24
(*i*)
 
25
 
 
26
(* Errors *)
 
27
 
 
28
val mismatched_params : env -> constr_expr list -> rel_context -> 'a
 
29
 
 
30
val mismatched_props : env -> constr_expr list -> rel_context -> 'a
 
31
 
 
32
(* Instance declaration *)
 
33
 
 
34
val declare_instance : bool -> identifier located -> unit
 
35
 
 
36
val declare_instance_constant :
 
37
  typeclass ->
 
38
  int option -> (* priority *)
 
39
  bool -> (* globality *)
 
40
  Impargs.manual_explicitation list -> (* implicits *)
 
41
  ?hook:(Names.constant -> unit) ->
 
42
  identifier -> (* name *)
 
43
  Term.constr -> (* body *)
 
44
  Term.types -> (* type *)
 
45
  Names.identifier
 
46
    
 
47
val new_instance : 
 
48
  ?global:bool -> (* Not global by default. *)
 
49
  local_binder list ->
 
50
  typeclass_constraint ->
 
51
  constr_expr ->
 
52
  ?generalize:bool ->
 
53
  ?tac:Proof_type.tactic  ->
 
54
  ?hook:(constant -> unit) ->
 
55
  int option ->
 
56
  identifier
 
57
 
 
58
(* For generation on names based on classes only *)
 
59
 
 
60
val id_of_class : typeclass -> identifier
 
61
 
 
62
(* Context command *)    
 
63
 
 
64
val context : ?hook:(Libnames.global_reference -> unit) -> 
 
65
  local_binder list -> unit
 
66
 
 
67
(* Forward ref for refine *)
 
68
 
 
69
val refine_ref : (open_constr -> Proof_type.tactic) ref
 
70