blob: 8b99e1657a3e0ba18b1ab481e90969ee28b4ee0d (
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
|
(* $Id$ *)
(*i*)
open Names
open Term
open Declare
(*i*)
(* Declaration functions. The following functions take ASTs, transform them
into [constr] and then call the corresponding functions of [Declare]. *)
val definition_body : identifier -> strength -> Coqast.t -> unit
val definition_body_red : identifier -> strength -> Coqast.t
-> Tacred.red_expr option -> unit
val syntax_definition : identifier -> Coqast.t -> unit
(*i
val abstraction_definition : identifier -> int array -> Coqast.t -> unit
i*)
val hypothesis_def_var : bool -> string -> strength -> Coqast.t -> unit
val parameter_def_var : string -> Coqast.t -> unit
val build_mutual :
(identifier * Coqast.t) list ->
(identifier * Coqast.t * (identifier * Coqast.t) list) list -> bool -> unit
val build_recursive :
(identifier * ((identifier * Coqast.t) list) * Coqast.t * Coqast.t) list
-> unit
val build_corecursive : (identifier * Coqast.t * Coqast.t) list -> unit
val mkProdCit : (identifier * Coqast.t) list -> Coqast.t -> Coqast.t
val build_scheme : (identifier * bool * Coqast.t * Coqast.t) list -> unit
|