Module Type.Function

module Function: sig .. end
Instance of Type.Polymorphic2 for functions: same signature than Type.Polymorphic2 with possibility to specify a label for the function parameter.

type ('a, 'b) poly = 'a -> 'b 
val instantiate : ?label:string * (unit -> 'a) option ->
'a Type.t -> 'b Type.t -> ('a -> 'b) Type.t * bool
Possibility to add a label for the parameter.
val is_instance_of : 'a Type.t -> bool
val get_instance : ('a -> 'b) Type.t -> 'a Type.t * 'b Type.t * string option
val get_optional_argument : ('a -> 'b) Type.t -> (unit -> 'a) option