Readonly applyReadonly distributeReadonly foldRFolds the data structure with folder function by right associativity.
The function which takes the next and accumulating value and returns the calculated accumulation.
The accumulated result value.
Readonly mapReadonly pureReadonly traverseMaps each item of the structure data to an action, and evaluates them from left to right, then collects the result.
The instance of Applicative for F.
The collected result of actions.
Readonly untaintedGenerated using TypeDoc
A functor with application. It can combine sequence computations with
applyorliftA2function.All instances of the applicative
amust satisfy the following laws:x;a.apply(a.pure((i) => i))(x)equals tox,x,yandz;a.apply(a.apply(a.apply(a.pure((f) => (g) => (i) => f(g(i))))(x))(y))(z)equals toa.apply(x)(a.apply(y)(z)),fandx;a.apply(a.pure(f))(a.pure(x))equals toa.pure(f(x)),fandx;a.apply(f)(a.pure(x))equals toa.apply(a.pure((i) => i(x)))(f).