package colibri2

  1. Overview
  2. Docs
val eq_type : 'a t -> 'b t -> ('a, 'b) Colibri2_stdlib.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) Colibri2_stdlib.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.