aboutsummaryrefslogtreecommitdiff
path: root/toplevel/record.mli
blob: d6093fdc112cb34a2d5d36849f74ddb45769bd45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(*i $Id$ i*)

(*i*)
open Names
open Term
open Sign
(*i*)

(* [declare_projections id coers params fields] declare projections of
   record [id] (if allowed), and put them as coercions accordingly to
   [coers] *)

val declare_projections :
  identifier -> bool list -> 
   named_context -> named_context -> constant_path option list

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