io.iteratee

Iteratee

sealed class Iteratee[F[_], E, A] extends Serializable

An iteratee processes a stream of elements of type E and returns a value of type F[A].

F

A type constructor representing a context for effects

E

The type of the input data

A

The type of the calculated result

Self Type
Iteratee[F, E, A]
See also

io.iteratee.internal.Step

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Iteratee
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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 apply(enumerator: Enumerator[F, E])(implicit F: Monad[F]): Iteratee[F, E, A]

    Advance this Iteratee with the given Enumerator.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def contramap[E2](f: (E2) ⇒ E)(implicit F: Functor[F]): Iteratee[F, E2, A]

    Transform the inputs to this Iteratee.

  10. final def discard(implicit F: Functor[F]): Iteratee[F, E, Unit]

    Create a new Iteratee that throws away the value this one returns.

  11. final def ensure[T](action: F[Unit])(implicit F: MonadError[F, T]): Iteratee[F, E, A]

    Ensure that an action will be performed when this iteratee is done, whether or not it succeeds.

  12. final def ensureEval[T](action: Eval[F[Unit]])(implicit F: MonadError[F, T]): Iteratee[F, E, A]

    Ensure that an action will be performed when this iteratee is done, whether or not it succeeds.

  13. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def flatMap[B](f: (A) ⇒ Iteratee[F, E, B])(implicit F: Monad[F]): Iteratee[F, E, B]

    Map a function returning an Iteratee over the result.

  17. final def flatMapM[B](f: (A) ⇒ F[B])(implicit F: Monad[F]): Iteratee[F, E, B]

    Map a monadic function over the result of this Iteratee.

  18. final def fold[Z](ifCont: ((NonEmptyList[E]) ⇒ Iteratee[F, E, A]) ⇒ Z, ifDone: (A, List[E]) ⇒ Z)(implicit F: Functor[F]): F[Z]

    Reduce this Iteratee to an effectful value using the given functions.

  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. final def handleErrorWith[T](f: (T) ⇒ Iteratee[F, E, A])(implicit F: MonadError[F, T]): Iteratee[F, E, A]

    If this Iteratee has failed, use the provided function to recover.

  21. def hashCode(): Int

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

    Definition Classes
    Any
  23. final def map[B](f: (A) ⇒ B)(implicit F: Functor[F]): Iteratee[F, E, B]

    Map a function over the result of this Iteratee.

  24. final def mapI[G[_]](f: FunctionK[F, G])(implicit arg0: Applicative[G], F: Applicative[F]): Iteratee[G, E, A]

    Transform the context of this Iteratee.

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

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

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

    Definition Classes
    AnyRef
  28. final def run(implicit F: Monad[F]): F[A]

    Run this iteratee and close the stream so that it must produce an effectful value.

  29. final val state: F[Step[F, E, A]]

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. final def through[O](enumeratee: Enumeratee[F, O, E])(implicit F: Monad[F]): Iteratee[F, O, A]

    Create a new Iteratee that first processes values with the given Enumeratee.

  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def up[G[_]](implicit G: Applicative[G], F: Comonad[F], F0: Applicative[F]): Iteratee[G, E, A]

    Lift this Iteratee into a different context.

  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def zip[B](other: Iteratee[F, E, B])(implicit F: Applicative[F]): Iteratee[F, E, (A, B)]

    Zip this Iteratee with another to create an iteratee that returns a pair of their results.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped