Parameter Compose.Outer
include Base.Applicative.S
val return : 'a 'p 'q. 'a -> 'a Outer.tConvert a value to a t.
Applies the functions in one t to the values in another. Well-behaved applicatives satisfy these "laws", using <*> as infix apply:
return Fn.id <*> tis equivalent totreturn Fn.compose <*> tf <*> tg <*> txis equivalent totf <*> (tg <*> tx)return f <*> return xis equivalent toreturn (f x)tf <*> return xis equivalent toreturn (fun f -> f x) <*> tf
Combines values in two ts as tuples. Using <*> as infix apply, equivalent to return (fun a b -> a, b) <*> ta <*> tb.
Transforms the contents of a t. Using <*> as infix apply, equivalent to return f <*> t.
Combines the contents of two ts. Using <*> as infix apply, equivalent to return f <*> ta <*> tb.
val map3 :
'a 'b 'c 'd 'p 'q. 'a Outer.t ->
'b Outer.t ->
'c Outer.t ->
f:('a -> 'b -> 'c -> 'd) ->
'd Outer.tCombines the contents of three ts. Using <*> as infix apply, equivalent to return f <*> ta <*> tb <*> tc.
Combines a list of t whose contents are unimportant.
module Applicative_infix : sig ... end