Frama-C:
Plug-ins:
Libraries:

Frama-C API - Polymorphic2

Generic implementation of polymorphic type value with two type variables.

Parameters

Signature

type ('a, 'b) poly = ('a, 'b) T.t
val instantiate : 'a t -> 'b t -> ('a, 'b) poly t * bool
val is_instance_of : 'a t -> bool
val get_instance : ('a, 'b) poly t -> 'a t * 'b t