package colibri2

  1. Overview
  2. Docs
val eq_type : ('a1, 'a2) t -> ('b1, 'b2) t -> ('a1 * 'a2, 'b1 * 'b2) Colibri2_stdlib.Std.Poly.iseq

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

val coerce_type : ('a1, 'a2) t -> ('b1, 'b2) t -> ('a1 * 'a2, 'b1 * 'b2) 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

OCaml

Innovation. Community. Security.