Provides access to the error in fa
, if present, by wrapping it in a Left
.
Lifts a pure exception in to the error mode of the F
effect.
Computes an F[B]
from A
value(s) in an F[A]
.
Computes an F[B]
from A
value(s) in an F[A]
.
Lifts a pure value in to the F
effect.
Lifts a pure value in to the F
effect.
Converts an F[A]
to an F[B]
using an effectful function F[A => B]
.
Converts an F[A]
to an F[B]
using an effectful function F[A => B]
.
The function effect is evaluated first, followed by the F[A]
effect.
Converts an F[A]
to an F[B]
using a pure function A => B
.
Monad which tracks exceptions thrown during evaluation.
For infix syntax, import
fs2.util.syntax._
.