sealed abstract class FreeT[S[_], M[_], A] extends AnyRef
- Source
- FreeT.scala
- Alphabetic
- By Inheritance
- FreeT
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def flatMap[B](f: (A) => FreeT[S, M, B]): FreeT[S, M, B]
Binds the given continuation to the result of this computation.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hoistM[N[_]](mn: ~>[M, N])(implicit S: Functor[S], M: Functor[M]): FreeT[S, N, A]
Same as
hoistN
but different constraints - def hoistN[N[_]](mn: ~>[M, N])(implicit S: Functor[S], N: Functor[N]): FreeT[S, N, A]
Changes the underlying
Monad
for thisFreeT
, ie.Changes the underlying
Monad
for thisFreeT
, ie. turning thisFreeT[S, M, A]
into aFreeT[S, N, A]
given Functors forS
andN
- def interpretS[T[_]](st: ~>[S, T])(implicit S: Functor[S], M: Functor[M]): FreeT[T, M, A]
Change the base functor
S
for aFreeT
action. - def interpretT[T[_]](st: ~>[S, T])(implicit T: Functor[T], M: Functor[M]): FreeT[T, M, A]
Same as
interpretS
but different constraints - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def map[B](f: (A) => B)(implicit S: Functor[S], M: Functor[M]): FreeT[S, M, B]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def resume(implicit S: Functor[S], M0: BindRec[M], M1: Applicative[M]): M[\/[A, S[FreeT[S, M, A]]]]
Evaluates a single layer of the free monad *
- def runM(interp: (S[FreeT[S, M, A]]) => M[FreeT[S, M, A]])(implicit S: Functor[S], M0: BindRec[M], M1: Applicative[M]): M[A]
Runs to completion, using a function that maps the resumption from
S
to a monadM
. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()