io.iteratee.internal

Step

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
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Step
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Step()

Abstract Value Members

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

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

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

    Map a function over the inputs of this Step.

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

    Feed a chunk (possibly empty) to this Step.

    Feed a chunk (possibly empty) to this Step.

    If the chunk is empty, this method will return the Step itself in the context F.

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

    Feed a single element to this Step.

    Feed a single element to this Step.

    Must be consistent with feed and feedNonEmpty.

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

    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
  6. abstract def fold[Z](ifCont: ((NonEmptyList[E]) ⇒ F[Step[F, E, A]]) ⇒ Z, ifDone: (A, List[E]) ⇒ Z): Z

    Reduce this Step to a value using the given functions.

  7. abstract def isDone: Boolean

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

    Map a function over the value of this Step.

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

    Transform the context of this Step.

  10. abstract def run: F[A]

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

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

    Zip this Step with another.

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped