Packages

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]
Source
Iteratee.scala
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
Visibility
  1. Public
  2. All

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

    Advance this Iteratee with the given Enumerator.

  5. final def as[B](b: B)(implicit F: Functor[F]): Iteratee[F, E, B]

    Replace the result of this Iteratee.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. final def contramap[E2](f: (E2) ⇒ E)(implicit F: Functor[F]): Iteratee[F, E2, A]

    Transform the inputs to this Iteratee.

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

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

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

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

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. 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.

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

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

  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. 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.

  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def map[B](f: (A) ⇒ B)(implicit F: Functor[F]): Iteratee[F, E, B]

    Map a function over the result of this Iteratee.

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

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def run(implicit F: Monad[F]): F[A]

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

  28. final val state: F[Step[F, E, A]]
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. 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.

  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. 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.

  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  36. 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