Module Applicative.Make_using_map2
Parameters
Signature
val return : here:lexing_position -> 'a -> 'a X.tval map : here:lexing_position -> 'a X.t -> f:('a -> 'b) -> 'b X.tval both : here:lexing_position -> 'a X.t -> 'b X.t -> ('a * 'b) X.tval (<*>) : here:lexing_position -> ('a -> 'b) X.t -> 'a X.t -> 'b X.tval (>>|) : here:lexing_position -> 'a X.t -> ('a -> 'b) -> 'b X.tval apply : here:lexing_position -> ('a -> 'b) X.t -> 'a X.t -> 'b X.tval map2 :
here:lexing_position ->
'a X.t ->
'b X.t ->
f:('a -> 'b -> 'c) ->
'c X.tval map3 :
here:lexing_position ->
'a X.t ->
'b X.t ->
'c X.t ->
f:('a -> 'b -> 'c -> 'd) ->
'd X.t