Packages

  • package root
    Definition Classes
    root
  • package io
    Definition Classes
    root
  • package iteratee
    Definition Classes
    io
  • package internal

    Internal types and utilities.

    Internal types and utilities.

    While some of these types and utilities are part of the public API and are used in the implementation of io.iteratee, they are not designed for clarity or ease-of-use, and should never be needed for idiomatic use of the library.

    Definition Classes
    iteratee
  • 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

Source
Step.scala
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]

    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]]

    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]

    Map a function over the inputs of this Step.

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

    Feed a chunk (possibly empty) to this Step.

  5. 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.

  6. 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
  7. 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.

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

    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]

    Transform the context of this Step.

  11. abstract def run: F[A]

    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)]

    Zip this Step with another.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped