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

(*i $Id$ i*)

(*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 -> identifier list -> 
    (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