org.atnos.eff

package org.atnos.eff

Members list

Packages

Type members

Classlikes

trait ErrorCreation[F] extends ErrorTypes[F]

Attributes

Source
ErrorCreation.scala
Supertypes
trait ErrorTypes[F]
class Object
trait Matchable
class Any
Known subtypes
trait ErrorEffect[F]
object ErrorEffect

Effect for computation which can fail and return a Throwable, or just stop with a failure

Effect for computation which can fail and return a Throwable, or just stop with a failure

This effect is a mix of Eval and Either in the sense that every computation passed to this effect (with the ok method) is considered "impure" or "faulty" by default.

The type F is used to represent the failure type.

Attributes

Companion
object
Source
ErrorEffect.scala
Supertypes
trait ErrorCreation[F]
trait ErrorTypes[F]
class Object
trait Matchable
class Any
Show all
Known subtypes
object ErrorEffect
object ErrorEffect extends ErrorEffect[String]

Simple instantiation of the ErrorEffect trait with String as a Failure type

Simple instantiation of the ErrorEffect trait with String as a Failure type

Attributes

Companion
trait
Source
ErrorEffect.scala
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
trait ErrorInterpretation[F] extends ErrorCreation[F]

Attributes

Source
ErrorInterpretation.scala
Supertypes
trait ErrorCreation[F]
trait ErrorTypes[F]
class Object
trait Matchable
class Any
Known subtypes
trait ErrorEffect[F]
object ErrorEffect
Self type
trait ErrorTypes[F]

Attributes

Source
ErrorTypes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ErrorCreation[F]
trait ErrorEffect[F]
object ErrorEffect
case class Evaluate[F, A](run: Either[Either[Throwable, F], Eval[A]])

Attributes

Companion
object
Source
Evaluate.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Evaluate

Attributes

Companion
class
Source
Evaluate.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Evaluate.type