aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/class.mli
blob: 57d395c2072ff707e1c0c12038347c1b9a673e6e (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

(* $Id$ *)

(*i*)
open Names
open Term
open Classops
open Declare
(*i*)

(* Classes and coercions. *)

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 -> identifier -> 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 :
  dir_path -> (cl_typ * cl_info_typ) -> (cl_typ * cl_info_typ)
val process_coercion :
  dir_path -> (coe_typ * coe_info_typ) * cl_typ * cl_typ -> 
    (coe_typ * coe_info_typ) * cl_typ * cl_typ