StrongMonadPlusLaw
Value members
Concrete methods
Inherited methods
As with semigroups, monadic effects only change when their order is changed, not when the order in which they're combined changes.
As with semigroups, monadic effects only change when their order is changed, not when the order in which they're combined changes.
- Inherited from
- BindLaw
A series of maps may be freely rewritten as a single map on a composed function.
A series of maps may be freely rewritten as a single map on a composed function.
- Inherited from
- FunctorLaw
Lifted functions can be fused.
Lifted functions can be fused.
- Inherited from
- ApplyLaw
empty[A]
is a polymorphic value over A
.
empty[A]
is a polymorphic value over A
.
- Inherited from
- MonadPlusLaw
point
distributes over function applications.
point
distributes over function applications.
- Inherited from
- ApplicativeLaw
The identity function, lifted, is a no-op.
The identity function, lifted, is a no-op.
- Inherited from
- FunctorLaw
point
is a left and right identity, F-wise.
point
is a left and right identity, F-wise.
- Inherited from
- ApplicativeLaw
- Inherited from
- InvariantFunctorLaw
Lifted f
applied to pure a
is just f(a)
.
Lifted f
applied to pure a
is just f(a)
.
- Inherited from
- MonadLaw
map
is like the one derived from point
and ap
.
map
is like the one derived from point
and ap
.
- Inherited from
- ApplicativeLaw