object Iteratee extends IterateeInstances with Serializable
- Source
- Iteratee.scala
- Grouped
- Alphabetic
- By Inheritance
- Iteratee
- Serializable
- Serializable
- IterateeInstances
- IterateeInstances0
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
consume[F[_], A](implicit arg0: Applicative[F]): Iteratee[F, A, Vector[A]]
An Iteratee that collects all the elements in a stream in a vector.
-
final
def
consumeIn[F[_], A, C[_]](implicit arg0: Applicative[F], arg1: Applicative[C], arg2: MonoidK[C]): Iteratee[F, A, C[A]]
An Iteratee that collects all the elements in a stream in a given collection type.
-
final
def
cont[F[_], E, A](ifInput: (NonEmptyList[E]) ⇒ Iteratee[F, E, A], ifEnd: F[A])(implicit arg0: Applicative[F]): Iteratee[F, E, A]
Create an incomplete Iteratee that will use the given function to process the next input.
-
final
def
done[F[_], E, A](value: A)(implicit arg0: Applicative[F]): Iteratee[F, E, A]
Create a new completed Iteratee with the given result.
-
final
def
drop[F[_], E](n: Int)(implicit arg0: Applicative[F]): Iteratee[F, E, Unit]
An Iteratee that drops a given number of the values from a stream.
-
final
def
dropWhile[F[_], E](p: (E) ⇒ Boolean)(implicit arg0: Applicative[F]): Iteratee[F, E, Unit]
An Iteratee that drops values from a stream as long as they satisfy the given predicate.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
fail[F[_], T, E, A](e: T)(implicit F: MonadError[F, T]): Iteratee[F, E, A]
Create a failed iteratee with the given error.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
fold[F[_], E, A](init: A)(f: (A, E) ⇒ A)(implicit arg0: Applicative[F]): Iteratee[F, E, A]
An Iteratee that folds a stream using an initial value and an accumulation function.
-
final
def
foldM[F[_], E, A](init: A)(f: (A, E) ⇒ F[A])(implicit F: Monad[F]): Iteratee[F, E, A]
An Iteratee that folds a stream using an initial value and a monadic accumulation function.
-
final
def
foldMap[F[_], E, A](f: (E) ⇒ A)(implicit arg0: Applicative[F], arg1: Monoid[A]): Iteratee[F, E, A]
An Iteratee that combines values using a function to a type with a cats.Monoid instance.
-
final
def
foldMapM[F[_], E, A](f: (E) ⇒ F[A])(implicit arg0: Applicative[F], arg1: Monoid[A]): Iteratee[F, E, A]
An Iteratee that combines values using an effectful function to a type with a cats.Monoid instance.
-
final
def
foldMapMOption[F[_], E, A](f: (E) ⇒ F[A])(implicit F: Applicative[F], 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.
-
final
def
foldMapOption[F[_], E, A](f: (E) ⇒ A)(implicit F: Applicative[F], A: Semigroup[A]): Iteratee[F, E, Option[A]]
An Iteratee that combines values using a function to a type with a cats.Semigroup instance.
-
def
foreach[F[_], A](f: (A) ⇒ Unit)(implicit arg0: Applicative[F]): Iteratee[F, A, Unit]
An Iteratee that runs a function for its side effects.
-
def
foreachM[F[_], A](f: (A) ⇒ F[Unit])(implicit arg0: Monad[F]): Iteratee[F, A, Unit]
An Iteratee that runs an effectful function for its side effects.
-
final
def
fromStep[F[_], E, A](s: Step[F, E, A])(implicit F: Applicative[F]): Iteratee[F, E, A]
Create an Iteratee from a io.iteratee.internal.Step.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
head[F[_], E](implicit arg0: Applicative[F]): Iteratee[F, E, Option[E]]
An Iteratee that returns the first value in a stream.
-
final
def
identity[F[_], E](implicit arg0: Applicative[F]): Iteratee[F, E, Unit]
An iteratee that reads nothing from a stream.
-
final
def
isEnd[F[_], E](implicit arg0: Applicative[F]): Iteratee[F, E, Boolean]
An Iteratee that checks if the stream is at its end.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
iteratee[F[_], E, A](s: F[Step[F, E, A]]): Iteratee[F, E, A]
Create an Iteratee from a io.iteratee.internal.Step in a context.
-
implicit final
def
iterateeContravariant[F[_], A](implicit arg0: Monad[F]): Contravariant[[β$0$]Iteratee[F, β$0$, A]]
- Definition Classes
- IterateeInstances
-
implicit final
def
iterateeMonad[F[_], E](implicit F: Monad[F]): Monad[[γ$3$]Iteratee[F, E, γ$3$]]
- Definition Classes
- IterateeInstances0
-
implicit final
def
iterateeMonadError[F[_], T, E](implicit F: MonadError[F, T]): MonadError[[γ$2$]Iteratee[F, E, γ$2$], T]
- Definition Classes
- IterateeInstances
-
final
def
joinI[F[_], E, I, B](it: Iteratee[F, E, Step[F, I, B]])(implicit F: Monad[F]): Iteratee[F, E, B]
Collapse an Iteratee returning a io.iteratee.internal.Step into one layer.
-
final
def
last[F[_], E](implicit arg0: Applicative[F]): Iteratee[F, E, Option[E]]
An Iteratee that returns the last value in a stream.
-
final
def
length[F[_], E](implicit arg0: Applicative[F]): Iteratee[F, E, Long]
An Iteratee that counts the number of values in a stream.
-
final
def
liftM[F[_], E, A](fa: F[A])(implicit F: Monad[F]): Iteratee[F, E, A]
Lift an effectful value into an iteratee.
-
final
def
liftMEval[F[_], E, A](fa: Eval[F[A]])(implicit F: Monad[F]): Iteratee[F, E, A]
Lift an effectful value into an iteratee.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
peek[F[_], E](implicit arg0: Applicative[F]): Iteratee[F, E, Option[E]]
An Iteratee that returns the first value in a stream without consuming it.
-
final
def
reversed[F[_], A](implicit arg0: Applicative[F]): Iteratee[F, A, List[A]]
An Iteratee that collects all inputs in reverse order.
-
final
def
sum[F[_], E](implicit arg0: Applicative[F], arg1: Monoid[E]): Iteratee[F, E, E]
An Iteratee that combines values using an cats.Monoid instance.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
take[F[_], A](n: Int)(implicit arg0: Applicative[F]): Iteratee[F, A, Vector[A]]
An Iteratee that returns a given number of the first values in a stream.
-
final
def
takeWhile[F[_], A](p: (A) ⇒ Boolean)(implicit arg0: Applicative[F]): Iteratee[F, A, Vector[A]]
An Iteratee that returns values from a stream as long as they satisfy the given predicate.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )