AsyncFreeMonad

cps.monads.AsyncFreeMonad
See theAsyncFreeMonad companion trait

Attributes

Companion
trait
Source
FreeCpsMonad.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class AdoptCallbackStyle[A](source: (Try[A] => Unit) => Unit) extends AsyncFreeMonad[A]

Attributes

Source
FreeCpsMonad.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait AsyncFreeMonad[A]
class Object
trait Matchable
class Any
Show all
case class Error(e: Throwable) extends AsyncFreeMonad[Nothing]

Attributes

Source
FreeCpsMonad.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait AsyncFreeMonad[Nothing]
class Object
trait Matchable
class Any
Show all
case class FlatMap[A, B](fa: AsyncFreeMonad[A], f: A => AsyncFreeMonad[B]) extends AsyncFreeMonad[B]

Attributes

Source
FreeCpsMonad.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait AsyncFreeMonad[B]
class Object
trait Matchable
class Any
Show all
case class FlatMapTry[A, B](fa: AsyncFreeMonad[A], f: Try[A] => AsyncFreeMonad[B]) extends AsyncFreeMonad[B]

Attributes

Source
FreeCpsMonad.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait AsyncFreeMonad[B]
class Object
trait Matchable
class Any
Show all
case class Pure[A](a: A) extends AsyncFreeMonad[A]

Attributes

Source
FreeCpsMonad.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait AsyncFreeMonad[A]
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror