Class/Object

io.iteratee.internal

Step

Related Docs: object Step | package internal

Permalink

sealed abstract class Step[F[_], E, A] extends Serializable

Represents the current state of an io.iteratee.Iteratee.

F

The effect type constructor

E

The type of the input data

A

The type of the result calculated by the io.iteratee.Iteratee

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Step
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def as[B](b: B): Step[F, E, B]

    Permalink

    Replace the value of this Step.

  2. abstract def bind[B](f: (A) ⇒ F[Step[F, E, B]])(implicit M: Monad[F]): F[Step[F, E, B]]

    Permalink

    Map a function returning a Step in a monadic context over the value of this Step and flatten the result.

  3. abstract def contramap[E2](f: (E2) ⇒ E): Step[F, E2, A]

    Permalink

    Map a function over the inputs of this Step.

  4. abstract def feed(chunk: Seq[E]): F[Step[F, E, A]]

    Permalink

    Feed a chunk (possibly empty) to this Step.

  5. abstract def feedEl(e: E): F[Step[F, E, A]]

    Permalink

    Feed a single element to this Step.

    Feed a single element to this Step.

    Must be consistent with feed and feedNonEmpty.

  6. abstract def feedNonEmpty(chunk: Seq[E]): F[Step[F, E, A]]

    Permalink

    Feed a chunk that is known to be non-empty to this Step.

    Feed a chunk that is known to be non-empty to this Step.

    Note that this method is unsafe! If you do not know that the chunk contains at least one element, you must call feed instead.

    Attributes
    protected
  7. abstract def fold[Z](ifCont: ((NonEmptyList[E]) ⇒ F[Step[F, E, A]]) ⇒ Z, ifDone: (A, List[E]) ⇒ Z): Z

    Permalink

    Reduce this Step to a value using the given functions.

  8. abstract def isDone: Boolean

    Permalink
  9. abstract def map[B](f: (A) ⇒ B): Step[F, E, B]

    Permalink

    Map a function over the value of this Step.

  10. abstract def mapI[G[_]](f: FunctionK[F, G])(implicit arg0: Applicative[G]): Step[G, E, A]

    Permalink

    Transform the context of this Step.

  11. abstract def run: F[A]

    Permalink

    Run this Step so that it produces a value in an effectful context.

  12. abstract def zip[B](other: Step[F, E, B]): Step[F, E, (A, B)]

    Permalink

    Zip this Step with another.

Concrete 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 clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped