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
- Alphabetic
- By Inheritance
- Step
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
as[B](b: B): Step[F, E, B]
Replace the value of this Step.
-
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.
-
abstract
def
contramap[E2](f: (E2) ⇒ E): Step[F, E2, A]
Map a function over the inputs of this Step.
-
abstract
def
feed(chunk: Seq[E]): F[Step[F, E, A]]
Feed a chunk (possibly empty) to this Step.
-
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
andfeedNonEmpty
. -
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
-
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.
- abstract def isDone: Boolean
-
abstract
def
map[B](f: (A) ⇒ B): Step[F, E, B]
Map a function over the value of this Step.
-
abstract
def
mapI[G[_]](f: FunctionK[F, G])(implicit arg0: Applicative[G]): Step[G, E, A]
Transform the context of this Step.
-
abstract
def
run: F[A]
Run this Step so that it produces a value in an effectful context.
-
abstract
def
zip[B](other: Step[F, E, B]): Step[F, E, (A, B)]
Zip this Step with another.
Concrete 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
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )