HandlerExtensions
No need to use this trait directly, because it's inherited by Handler's companion object.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Handler.type
Members list
Extensions
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
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
Like flatMapState, but the mapping is executed for its effects only.
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
Transforms this handler, by deconstructing its Option result.
Transforms this handler, by deconstructing its Option result.
Attributes
Transforms this handler, by deconstructing its Option result.
Transforms this handler, by deconstructing its Option result.
Attributes
Transforms this handler, by mapping its Option result to Either.
Transforms this handler, by mapping its Option result to Either.
Attributes
Transforms this handler, by mapping its Option result to Try.
Transforms this handler, by mapping its Option result to Try.
Attributes
Transforms this handler, by mapping its Option result to Vector.
Transforms this handler, by mapping its Option result to Vector.
Attributes
Transforms this handler, by deconstructing its Option result.
Transforms this handler, by deconstructing its Option result.
Attributes
Like flatMapLeft, but the mapping is executed for its effects only.
Transforms this handler, by deconstructing its Either result.
Transforms this handler, by deconstructing its Either result.
Attributes
Transforms this handler, by deconstructing its Either result.
Transforms this handler, by deconstructing its Either result.
Attributes
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
Transforms this handler, by mapping its Either result to Option.
Transforms this handler, by mapping its Either result to Option.
Attributes
Transforms this handler, by mapping its Either result to Try.
Transforms this handler, by mapping its Either result to Try.
Attributes
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, _]