Attributes
Members list
Type members
Types
Alias for handler, whose Result[_]
is a type-level constant function.
Alias for handler, whose Result[_]
is a type-level constant function.
Attributes
Alias for handler that has no dependencies (introduces no new effects).
Alias for handler that has no dependencies (introduces no new effects).
Attributes
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Transforms a computation of a handler, into a new handler.
Transforms a computation of a handler, into a new handler.
Useful for effectful creation of handlers. Effects requested to create the handler are absorbed by the handler itself, into its own (additional) dependencies.
Attributes
Extensions
Inherited extensions
Composes 2 independent handlers, also flattening their nested Tuple2
results.
Composes 2 independent handlers, also flattening their nested Tuple2
results.
((_, S1), S2) ~> (_, (S1, S2))
((_, S1, S2), S3) ~> (_, (S1, S2, S3))
((_, S1, S2, S3), S4) ~> (_, (S1, S2, S3, S4))
...
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by dropping the second element of its Tuple2
result.
Transforms this handler, by dropping the second element of its Tuple2
result.
Attributes
- Inherited from:
- HandlerExtensions
Alias for dropState.
Alias for justState.
Like mapState, but the mapping function is effectful.
Like flatMapState, but the mapping is executed for its effects only.
Like flatMapState, but the mapping is executed for its effects only.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by dropping the first element of its Tuple2
result.
Transforms this handler, by dropping the first element of its Tuple2
result.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by mapping the second element of its Tuple2
result.
Transforms this handler, by mapping the second element of its Tuple2
result.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by deconstructing its Option
result.
Transforms this handler, by deconstructing its Option
result.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by deconstructing its Option
result.
Transforms this handler, by deconstructing its Option
result.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by mapping its Option
result to Either
.
Transforms this handler, by mapping its Option
result to Either
.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by mapping its Option
result to Try
.
Transforms this handler, by mapping its Option
result to Try
.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by mapping its Option
result to Vector
.
Transforms this handler, by mapping its Option
result to Vector
.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by deconstructing its Option
result.
Transforms this handler, by deconstructing its Option
result.
Attributes
- Inherited from:
- HandlerExtensions
Composes 2 independent handlers, also flattening their nested Option
results.
Composes 2 independent handlers, also flattening their nested Option
results.
Option[Option[_]] ~> Option[_]
Attributes
- Inherited from:
- HandlerExtensions
Like mapLeft, but the mapping function is effectful.
Like flatMapLeft, but the mapping is executed for its effects only.
Like flatMapLeft, but the mapping is executed for its effects only.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by deconstructing its Either
result.
Transforms this handler, by deconstructing its Either
result.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by deconstructing its Either
result.
Transforms this handler, by deconstructing its Either
result.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by mapping the Left
branch of its Either
result.
Transforms this handler, by mapping the Left
branch of its Either
result.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by mapping its Either
result to Option
.
Transforms this handler, by mapping its Either
result to Option
.
Attributes
- Inherited from:
- HandlerExtensions
Transforms this handler, by mapping its Either
result to Try
.
Transforms this handler, by mapping its Either
result to Try
.
Attributes
- Inherited from:
- HandlerExtensions
Composes 2 independent handlers, also flattening their nested Either
results.
Composes 2 independent handlers, also flattening their nested Either
results.
Either[E2, Either[E1, _]] ~> Either[E1 | E2, _]
Attributes
- Inherited from:
- HandlerExtensions