HandleOps

cats.mtl.syntax.HandleOps
final class HandleOps[F[_], A](val fa: F[A]) extends AnyVal

Attributes

Source
handle.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def attemptHandle[E](implicit handle: Handle[F, E]): F[Either[E, A]]

Attributes

Source
handle.scala
def attemptHandleT[E](implicit handle: Handle[F, E]): EitherT[F, E, A]

Attributes

Source
handle.scala
def handle[E](f: E => A)(implicit handle: Handle[F, E]): F[A]

Attributes

Source
handle.scala
def handleWith[E](f: E => F[A])(implicit handle: Handle[F, E]): F[A]

Attributes

Source
handle.scala

Concrete fields

val fa: F[A]

Attributes

Source
handle.scala