aboutsummaryrefslogtreecommitdiff
path: root/toplevel/class.mli
blob: 094b2ecc26f86c8b3d7391356a819a0e8f04f20c (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
(* $Id$ *)

open Names
open Term
open Classops
open Declare

val try_add_new_coercion : identifier -> strength -> unit
val try_add_new_coercion_subclass : identifier -> strength -> unit
val try_add_new_coercion_record: identifier -> strength -> section_path -> unit
val try_add_new_coercion_with_target : identifier -> strength ->
  identifier -> identifier -> bool -> unit

val try_add_new_class : identifier -> strength -> unit
val process_class :
  section_path -> (cl_typ * cl_info_typ) -> (cl_typ * cl_info_typ)
val process_coercion :
  section_path -> (coe_typ * coe_info_typ) * cl_typ * cl_typ -> 
    ((coe_typ * coe_info_typ) * cl_typ * cl_typ) * identifier * int 

val defined_in_sec : section_path -> section_path -> bool
val coercion_syntax : identifier -> int -> cl_typ -> unit
val fun_coercion_syntax_entry : identifier -> int -> unit
val coercion_syntax_entry : identifier -> int -> unit