Datatype.Polymorphic2
Functor for polymorphic types with 2 type variables.
Plug-in Development Guide
the functor had several additional values only used for Journalization that has been removed.
module P : sig ... end
include Type.Polymorphic2 with type ('a, 'b) poly = ( 'a, 'b ) P.t
type ('a, 'b) poly = ( 'a, 'b ) P.t
val instantiate : 'a Type.t -> 'b Type.t -> ( 'a, 'b ) poly Type.t * bool
val is_instance_of : 'a Type.t -> bool
val get_instance : ( 'a, 'b ) poly Type.t -> 'a Type.t * 'b Type.t
module Make (T1 : S) (T2 : S) : S with type t = ( T1.t, T2.t ) poly