blob: 90b40020e971debd0ff50ef3087eadf463931376 (
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
|
(***********************************************************************)
(* v * The Coq Proof Assistant / The Coq Development Team *)
(* <O___,, * INRIA-Rocquencourt & LRI-CNRS-Orsay *)
(* \VV/ *************************************************************)
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
(***********************************************************************)
(*i $Id$ i*)
(*i*)
open Names
open Term
open Sign
open Vernacexpr
(*i*)
(* [declare_projections ref coers params fields] declare projections of
record [ref] (if allowed), and put them as coercions accordingly to
[coers]; it returns the absolute names of projections *)
val declare_projections :
inductive -> bool list -> rel_context -> constant option list
val definition_structure :
identifier with_coercion * (identifier * Genarg.constr_ast) list *
(local_decl_expr with_coercion) list * identifier * sorts -> unit
|