sealed trait Free[+F[_], +A] extends AnyRef
A specialized free monad which captures exceptions thrown during evaluation.
- Source
- Free.scala
- Alphabetic
- By Inheritance
- Free
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
_fold[F2[_], G[_], A2 >: A](f: Fold[F2, G, A2])(implicit S: Sub1[F, F2], T: RealSupertype[A, A2]): G[A2]
- Attributes
- protected
-
abstract
def
_runTranslate[G[_], A2 >: A](g: ~>[F, G])(implicit G: Catchable[G]): G[A2]
- Attributes
- protected
-
abstract
def
_unroll[G[+_]](implicit G: Functor[G], S: Sub1[F, G]): Trampoline[Unroll[A, G[Free[F, A]]]]
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Free[F, A], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def attempt: Free[F, Attempt[A]]
- final def attemptStrict: Free[F, Attempt[A]]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (Free[F, A]) ⇒ Boolean, msg: ⇒ Any): Free[F, A]
- def ensuring(cond: (Free[F, A]) ⇒ Boolean): Free[F, A]
- def ensuring(cond: Boolean, msg: ⇒ Any): Free[F, A]
- def ensuring(cond: Boolean): Free[F, A]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- final def flatMap[F2[x] >: F[x], B](f: (A) ⇒ Free[F2, B]): Free[F2, B]
- final def fold[F2[_], G[_], A2 >: A](f: Fold[F2, G, A2])(implicit S: Sub1[F, F2], T: RealSupertype[A, A2]): G[A2]
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def map[B](f: (A) ⇒ B): Free[F, B]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- final def run[F2[x] >: F[x], A2 >: A](implicit F2: Catchable[F2]): F2[A2]
- final def runTranslate[G[_], A2 >: A](g: ~>[F, G])(implicit G: Catchable[G]): G[A2]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Free → AnyRef → Any
- final def translate[G[_]](u: ~>[F, G]): Free[G, A]
- final def unroll[G[+_]](implicit G: Functor[G], S: Sub1[F, G]): Unroll[A, G[Free[F, A]]]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (Free[F, A], B)