Object/Class

scalaz

Free

Related Docs: class Free | package scalaz

Permalink

object Free extends FreeFunctions with FreeInstances

Source
Free.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Free
  2. FreeInstances
  3. SourceInstances
  4. SinkInstances
  5. TrampolineInstances
  6. FreeFunctions
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class Gosub[S[+_], A, +B](a: () ⇒ Free[S, A], f: (A) ⇒ Free[S, B])(implicit evidence$3: Functor[S]) extends Free[S, B] with Product with Serializable

    Permalink

    Call a subroutine and continue with the given function.

  2. case class Return[S[+_], +A](a: A)(implicit evidence$1: Functor[S]) extends Free[S, A] with Product with Serializable

    Permalink

    Return from the computation with the given value.

  3. type Sink[A, +B] = Free[[+x](⇒ A) ⇒ x, B]

    Permalink

    A computation that accepts values of type A, eventually resulting in a value of type B.

    A computation that accepts values of type A, eventually resulting in a value of type B. Note the similarity to an scalaz.iteratee.Iteratee.

  4. type Source[A, +B] = Free[[+x](A, x), B]

    Permalink

    A computation that produces values of type A, eventually resulting in a value of type B.

  5. case class Suspend[S[+_], +A](a: S[Free[S, A]])(implicit evidence$2: Functor[S]) extends Free[S, A] with Product with Serializable

    Permalink

    Suspend the computation with the given suspension.

  6. type Trampoline[+A] = Free[Function0, A]

    Permalink

    A computation that can be stepped through, suspended, and paused

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def await[A]: Sink[A, A]

    Permalink

    A sink that waits for a single value and returns it.

    A sink that waits for a single value and returns it.

    Definition Classes
    FreeFunctions
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. implicit def freeMonad[S[+_]](implicit arg0: Functor[S]): Monad[[x]Free[S, x]]

    Permalink
    Definition Classes
    FreeInstances
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def joinF[S[+_], A](value: Free[[+α]Free[S, α], A])(implicit S: Functor[S]): Free[S, A]

    Permalink

    Monadic join for the higher-order monad Free

  15. def liftF[S[+_], A](value: ⇒ S[A])(implicit S: Functor[S]): Free[S, A]

    Permalink

    Suspends a value within a functor in a single step.

    Suspends a value within a functor in a single step. Monadic unit for a higher-order monad.

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def pause: Trampoline[Unit]

    Permalink

    A trampoline step that doesn't do anything.

    A trampoline step that doesn't do anything.

    Definition Classes
    FreeFunctions
  20. def point[S[+_], A](value: ⇒ A)(implicit arg0: Functor[S]): Free[S, A]

    Permalink

    Return the given value in the free monad.

  21. def produce[A](a: A): Source[A, Unit]

    Permalink

    A source that produces the given value.

    A source that produces the given value.

    Definition Classes
    FreeFunctions
  22. def pure[S[+_], A](value: ⇒ A)(implicit arg0: Functor[S]): Free[S, A]

    Permalink

    Alias for point

  23. def reset[A](r: Trampoline[A]): Trampoline[A]

    Permalink

    Collapse a trampoline to a single step.

    Collapse a trampoline to a single step.

    Definition Classes
    FreeFunctions
  24. def return_[S[+_], A](value: ⇒ A)(implicit S: Applicative[S]): Free[S, A]

    Permalink

    Suspend the given computation in a single step.

    Suspend the given computation in a single step.

    Definition Classes
    FreeFunctions
  25. implicit def sinkMonad[S]: Monad[[x]Free[[+x](⇒ S) ⇒ x, x]]

    Permalink
    Definition Classes
    SinkInstances
  26. implicit def sourceMonad[S]: Monad[[x]Free[[+x](S, x), x]]

    Permalink
    Definition Classes
    SourceInstances
  27. def suspend[S[+_], A](value: ⇒ Free[S, A])(implicit S: Applicative[S]): Free[S, A]

    Permalink
    Definition Classes
    FreeFunctions
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. implicit val trampolineMonad: Monad[Trampoline]

    Permalink
    Definition Classes
    TrampolineInstances
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FreeInstances

Inherited from SourceInstances

Inherited from SinkInstances

Inherited from TrampolineInstances

Inherited from FreeFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped