CpsThrowSupport

cps.CpsThrowSupport
trait CpsThrowSupport[F[_]]

Throw support for monads, decoupled from monad itself.

Attributes

Source
CpsMonad.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def error[A](e: Throwable): F[A]

represent error e in monadic context.

represent error e in monadic context.

Attributes

Source
CpsMonad.scala