aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/record.mli
blob: b678cc3e5760521b15875d0fa5d1406f24cf98af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

(*i $Id$ i*)

(*i*)
open Names
open Term
open Sign
(*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_path -> bool list -> named_context -> constant_path option list

val definition_structure :
   bool * identifier * (identifier * Coqast.t) list *
  (bool * (identifier * bool * Coqast.t)) list * identifier * sorts -> unit