Module Applicative.Make2_using_map2
Parameters
Signature
val return : 'a -> ('a, _) X.t
val map : ('a, 'e) X.t -> f:('a -> 'b) -> ('b, 'e) X.t
val both : ('a, 'e) X.t -> ('b, 'e) X.t -> ('a * 'b, 'e) X.t
val (<*>) : ('a -> 'b, 'e) X.t -> ('a, 'e) X.t -> ('b, 'e) X.t
val (<*) : ('a, 'e) X.t -> (unit, 'e) X.t -> ('a, 'e) X.t
val (*>) : (unit, 'e) X.t -> ('a, 'e) X.t -> ('a, 'e) X.t
val (>>|) : ('a, 'e) X.t -> ('a -> 'b) -> ('b, 'e) X.t
val apply : ('a -> 'b, 'e) X.t -> ('a, 'e) X.t -> ('b, 'e) X.t
val map2 : ('a, 'e) X.t -> ('b, 'e) X.t -> f:('a -> 'b -> 'c) -> ('c, 'e) X.t
val map3 : ('a, 'e) X.t -> ('b, 'e) X.t -> ('c, 'e) X.t -> f:('a -> 'b -> 'c -> 'd) -> ('d, 'e) X.t
val all : ('a, 'e) X.t list -> ('a list, 'e) X.t
val all_unit : (unit, 'e) X.t list -> (unit, 'e) X.t