catcheffect

package catcheffect

Members list

Type members

Classlikes

trait Ask[F[_], C]

Attributes

Companion
object
Source
Context.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Local[F, C]
object Ask

Attributes

Companion
trait
Source
Context.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Ask.type
trait Catch[F[_]]

An abstraction that can construct an instance of the Handle mtl algebra without any constraints.

An abstraction that can construct an instance of the Handle mtl algebra without any constraints.

Catch provides the (cap)ability to introduce ad-hoc error channels which compose, like cats.data.EitherT, but with no required lifting (and un-lifting).

Catch, unlike mtl stacks, Catch does not require introuction of more monad transformers when layering.

Nested handlers for Catch are well-defined.

Attributes

Companion
object
Source
Catch.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Catch[F]
object Catch

Attributes

Companion
trait
Source
Catch.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Catch.type
trait Context[F[_]]

An abstraction that can construct an instance of the Local mtl algebra without any constraints.

An abstraction that can construct an instance of the Local mtl algebra without any constraints.

You gain the (cap)ability to introduce a new instance of Local for any type, anywhere a Context is present.

For programs written in cats.data.Kleisli or tagless final, Context provides the ability to introduce new Local instances without having to lift any algebras or penalize your performance.

Nested use of Context is well defined.

Attributes

Companion
object
Source
Context.scala
Supertypes
class Object
trait Matchable
class Any
object Context

Attributes

Companion
trait
Source
Context.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Context.type
trait Handle[F[_], E] extends Raise[F, E]

Attributes

Companion
object
Source
Catch.scala
Supertypes
trait Raise[F, E]
class Object
trait Matchable
class Any
object Handle

Attributes

Companion
trait
Source
Catch.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Handle.type
trait Local[F[_], C] extends Ask[F, C]

Attributes

Companion
object
Source
Context.scala
Supertypes
trait Ask[F, C]
class Object
trait Matchable
class Any
object Local

Attributes

Companion
trait
Source
Context.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Local.type

Attributes

Source
LocalForIOLocal.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Raise[F[_], E]

Attributes

Source
Catch.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Handle[F, E]
Self type
Raise[F, E]