IterateeModule

trait IterateeModule[F[_]]
class Object
trait Matchable
class Any
object eval
trait IdModule
object id
object either
object eitherT
trait TryModule
object try_
object option

Document{}

final def cont[E, A](ifInput: NonEmptyList[E] => Iteratee[F, E, A], ifEnd: F[A]): Iteratee[F, E, A]

Create an incomplete Iteratee that will use the given function to process the next input.

Create an incomplete Iteratee that will use the given function to process the next input.

final def done[E, A](value: A): Iteratee[F, E, A]

Create a new completed Iteratee with the given result.

Create a new completed Iteratee with the given result.

Lift an effectful value into an iteratee.

Lift an effectful value into an iteratee.

final def identityIteratee[E]: Iteratee[F, E, Unit]

An iteratee that reads nothing from a stream.

An iteratee that reads nothing from a stream.

final def fold[E, A](init: A)(f: (A, E) => A): Iteratee[F, E, A]

An Iteratee that folds a stream using an initial value and an accumulation function.

An Iteratee that folds a stream using an initial value and an accumulation function.

final def foldM[E, A](init: A)(f: (A, E) => F[A]): Iteratee[F, E, A]

An Iteratee that folds a stream using an initial value and a monadic accumulation function.

An Iteratee that folds a stream using an initial value and a monadic accumulation function.

final def consume[E]: Iteratee[F, E, Vector[E]]

An Iteratee that collects all the elements in a stream in a vector.

An Iteratee that collects all the elements in a stream in a vector.

final def consumeIn[E, C[_]](C: Applicative[C], M: MonoidK[C]): Iteratee[F, E, C[E]]

An Iteratee that collects all the elements in a stream in a given collection type.

An Iteratee that collects all the elements in a stream in a given collection type.

final def head[E]: Iteratee[F, E, Option[E]]

An Iteratee that returns the first value in a stream.

An Iteratee that returns the first value in a stream.

final def peek[E]: Iteratee[F, E, Option[E]]

An Iteratee that returns the first value in a stream without consuming it.

An Iteratee that returns the first value in a stream without consuming it.

final def last[E]: Iteratee[F, E, Option[E]]

An Iteratee that returns the last value in a stream.

An Iteratee that returns the last value in a stream.

final def takeI[E](n: Int): Iteratee[F, E, Vector[E]]

An Iteratee that returns a given number of the first values in a stream.

An Iteratee that returns a given number of the first values in a stream.

final def takeWhileI[E](p: E => Boolean): Iteratee[F, E, Vector[E]]

An Iteratee that returns values from a stream as long as they satisfy the given predicate.

An Iteratee that returns values from a stream as long as they satisfy the given predicate.

final def dropI[E](n: Int): Iteratee[F, E, Unit]

An Iteratee that drops a given number of the values from a stream.

An Iteratee that drops a given number of the values from a stream.

final def dropWhileI[E](p: E => Boolean): Iteratee[F, E, Unit]

An Iteratee that drops values from a stream as long as they satisfy the given predicate.

An Iteratee that drops values from a stream as long as they satisfy the given predicate.

final def reversed[E]: Iteratee[F, E, List[E]]

An Iteratee that collects all inputs in reverse order.

An Iteratee that collects all inputs in reverse order.

final def length[E]: Iteratee[F, E, Long]

An Iteratee that counts the number of values in a stream.

An Iteratee that counts the number of values in a stream.

final def sum[E](E: Monoid[E]): Iteratee[F, E, E]

An Iteratee that combines values using an cats.Monoid instance.

An Iteratee that combines values using an cats.Monoid instance.

final def foldMap[E, A](f: E => A)(A: Monoid[A]): Iteratee[F, E, A]

An Iteratee that combines values using a function to a type with a cats.Monoid instance.

An Iteratee that combines values using a function to a type with a cats.Monoid instance.

final def foldMapM[E, A](f: E => F[A])(A: Monoid[A]): Iteratee[F, E, A]

An Iteratee that combines values using an effectful function to a type with a cats.Monoid instance.

An Iteratee that combines values using an effectful function to a type with a cats.Monoid instance.

final def foldMapOption[E, A](f: E => A)(A: Semigroup[A]): Iteratee[F, E, Option[A]]

An Iteratee that combines values using a function to a type with a cats.Semigroup instance.

An Iteratee that combines values using a function to a type with a cats.Semigroup instance.

final def foldMapMOption[E, A](f: E => F[A])(A: Semigroup[A]): Iteratee[F, E, Option[A]]

An Iteratee that combines values using an effectful function to a type with a cats.Semigroup instance.

An Iteratee that combines values using an effectful function to a type with a cats.Semigroup instance.

final def isEnd[E]: Iteratee[F, E, Boolean]

An Iteratee that checks if the stream is at its end.

An Iteratee that checks if the stream is at its end.

final def foreach[E](f: E => Unit): Iteratee[F, E, Unit]

An Iteratee that runs a function for its side effects.

An Iteratee that runs a function for its side effects.

final def foreachM[A](f: A => F[Unit]): Iteratee[F, A, Unit]

An Iteratee that runs an effectful function for its side effects.

An Iteratee that runs an effectful function for its side effects.