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

« back to all changes in this revision

Viewing changes to checker/modops.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: modops.mli 9821 2007-05-11 17:00:58Z aspiwack $ i*)
 
10
 
 
11
(*i*)
 
12
open Util
 
13
open Names
 
14
open Univ
 
15
open Term
 
16
open Declarations
 
17
open Environ
 
18
(*i*)
 
19
 
 
20
(* Various operations on modules and module types *)
 
21
 
 
22
(* make the environment entry out of type *)
 
23
val module_body_of_type : module_type_body -> module_body
 
24
 
 
25
val module_type_of_module : module_path option -> module_body -> 
 
26
  module_type_body 
 
27
 
 
28
val destr_functor : 
 
29
  env -> struct_expr_body -> mod_bound_id * module_type_body * struct_expr_body
 
30
 
 
31
(* Evaluation functions *)
 
32
val eval_struct : env -> struct_expr_body -> struct_expr_body
 
33
 
 
34
val type_of_mb : env -> module_body -> struct_expr_body
 
35
 
 
36
(* [add_signature mp sign env] assumes that the substitution [msid]
 
37
   $\mapsto$ [mp] has already been performed (or is not necessary, like
 
38
   when [mp = MPself msid]) *)
 
39
val add_signature : module_path -> structure_body -> env -> env
 
40
 
 
41
(* adds a module and its components, but not the constraints *)
 
42
val add_module : module_path -> module_body ->  env -> env
 
43
 
 
44
val check_modpath_equiv : env -> module_path -> module_path -> unit
 
45
 
 
46
val strengthen : env -> struct_expr_body -> module_path -> struct_expr_body
 
47
 
 
48
val update_subst : env -> module_body -> module_path -> bool * substitution
 
49
 
 
50
val error_incompatible_modtypes : 
 
51
  module_type_body -> module_type_body -> 'a
 
52
 
 
53
val error_not_match : label -> structure_field_body -> 'a
 
54
 
 
55
val error_with_incorrect : label -> 'a
 
56
 
 
57
val error_no_such_label : label -> 'a
 
58
 
 
59
val error_no_such_label_sub :
 
60
  label -> mod_self_id -> mod_self_id -> 'a
 
61
 
 
62
val error_signature_expected : struct_expr_body -> 'a
 
63
 
 
64
val error_not_a_constant : label -> 'a
 
65
 
 
66
val error_not_a_module : label -> 'a 
 
67
 
 
68
val error_a_generative_module_expected : label -> 'a
 
69
 
 
70
val error_application_to_not_path : struct_expr_body -> 'a