Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val empty : t
val add : t -> Tterm.lsymbol -> t
adds a new coercion from function ls: ty1 -> ty2
raises an error if
ty2
to ty1
is already defined;ls
cannot be used as a coercion, e.g. ty1 = ty2
;ty1
to ty2
is already definedval find : t -> Ttypes.ty -> Ttypes.ty -> Tterm.lsymbol list
returns the coercion, or raises Not_found
union s1 s2
merges the coercions from s2
into s1
(as a new set of coercions) this is asymetric: a coercion from s2
may hide a coercion from s1
val print_coercions : Format.formatter -> t -> unit