package colibri2

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val eq_type : 'a t -> 'b t -> ('a, 'b) Std.Poly.iseq

If the two arguments are identical then an equality witness between the types is returned

val coerce_type : 'a t -> 'b t -> ('a, 'b) Std.Poly.eq

If the two arguments are identical then an equality witness between the types is returned otherwise the exception BadCoercion is raised

val coerce : 'a t -> 'b t -> 'a -> 'b

If the two arguments are identical then covnert the argument otherwise taise BadCoercion

OCaml

Innovation. Community. Security.