sealed
trait
Free[S[+_], +A] extends AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
>>=[B](f: (A) ⇒ Free[S, B]): Free[S, B]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
collect[B, C >: A](implicit ev: <~<[Free[S, C], Free.Source[B, C]], S: Functor[S]): (Vector[B], C)
-
def
drain[E, B, C >: A](source: Free.Source[E, B])(implicit ev: <~<[Free[S, C], Free.Sink[E, C]], S: Functor[S]): (C, B)
-
def
drive[E, B, C >: A](sink: Free.Sink[Option[E], B])(implicit ev: <~<[Free[S, C], Free.Source[E, C]], S: Functor[S]): (C, B)
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
feed[E, C >: A](ss: Stream[E])(implicit ev: <~<[Free[S, C], Free.Sink[E, C]], S: Functor[S]): C
-
def
finalize(): Unit
-
final
def
flatMap[B](f: (A) ⇒ Free[S, B]): Free[S, B]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
map[B](f: (A) ⇒ B): Free[S, B]
-
final
def
mapSuspension[T[+_]](f: ~>[S, T])(implicit S: Functor[S]): Free[T, A]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
resume(implicit S: Functor[S]): Either[S[Free[S, A]], A]
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
zipWith[B, C](tb: Free[S, B], f: (A, B) ⇒ C)(implicit S: Functor[S]): Free[S, C]
Inherited from AnyRef
Inherited from Any
A free operational monad for some functor
S. Binding is done using the heap instead of the stack, allowing tail-call elimination.