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

(* $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 -> 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