blob: 828cc4050dacfd283b925b938e2d52da8bab0e79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
(* $Id$ *)
(*i*)
open Names
open Term
open Inductive
(*i*)
(* Implicit arguments. Here we store the implicit arguments. Notice that we
are outside the kernel, which knows nothing about implicit arguments. *)
type implicits =
| Impl_auto of int list
| Impl_manual of int list
| No_impl
val make_implicit_args : bool -> unit
val is_implicit_args : unit -> bool
val implicitely : ('a -> 'b) -> 'a -> 'b
val with_implicits : bool -> ('a -> 'b) -> 'a -> 'b
val list_of_implicits : implicits -> int list
val declare_constant_implicits : section_path -> unit
val declare_constant_manual_implicits : section_path -> int list -> unit
val constant_implicits : section_path -> implicits
val declare_inductive_implicits : section_path -> unit
val inductive_implicits : inductive_path -> implicits
val constructor_implicits : constructor_path -> implicits
val constructor_implicits_list : constructor_path -> int list
val inductive_implicits_list : inductive_path -> int list
val constant_implicits_list : section_path -> int list
val declare_var_implicits : identifier -> unit
val implicits_of_var : identifier -> int list
val is_implicit_constant : section_path -> bool
val is_implicit_inductive_definition : section_path -> bool
val is_implicit_var : identifier -> bool
type frozen_t
val freeze : unit -> frozen_t
val unfreeze : frozen_t -> unit
|