Object

io.iteratee.modules

xor

Related Doc: package modules

Permalink

object xor extends XorModule

Annotations
@deprecated
Deprecated

(Since version 0.6.0) Use eitherT

Linear Supertypes
XorModule, IterateeErrorModule[[x]XorT[Eval, Throwable, x], Throwable], IterateeModule[[x]XorT[Eval, Throwable, x]], EnumeratorErrorModule[[x]XorT[Eval, Throwable, x], Throwable], EnumeratorModule[[x]XorT[Eval, Throwable, x]], EnumerateeModule[[x]XorT[Eval, Throwable, x]], Module[[x]XorT[Eval, Throwable, x]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. xor
  2. XorModule
  3. IterateeErrorModule
  4. IterateeModule
  5. EnumeratorErrorModule
  6. EnumeratorModule
  7. EnumerateeModule
  8. Module
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed class LiftToIterateePartiallyApplied[E] extends AnyRef

    Permalink

    Definition Classes
    IterateeModule
  2. final type M[f[_]] = MonadError[f, Throwable]

    Permalink
    Definition Classes
    XorModuleModule
  3. sealed class PerformPartiallyApplied[E] extends AnyRef

    Permalink

    Definition Classes
    EnumeratorModule

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val F: MonadError[[x]XorT[Eval, Throwable, x], Throwable]

    Permalink
    Attributes
    protected
    Definition Classes
    XorModuleModule
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def collect[O, I](pf: PartialFunction[O, I]): Enumeratee[[x]XorT[Eval, Throwable, x], O, I]

    Permalink

    Transform values using a scala.PartialFunction and drop values that aren't matched.

    Transform values using a scala.PartialFunction and drop values that aren't matched.

    Definition Classes
    EnumerateeModule
  8. final def consume[E]: Iteratee[[x]XorT[Eval, Throwable, x], E, Vector[E]]

    Permalink

    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.

    Definition Classes
    IterateeModule
  9. final def consumeIn[E, C[_]](implicit C: Applicative[C], M: MonoidK[C]): Iteratee[[x]XorT[Eval, Throwable, x], E, C[E]]

    Permalink

    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.

    Definition Classes
    IterateeModule
  10. final def cont[E, A](ifInput: (NonEmptyVector[E]) ⇒ Iteratee[[x]XorT[Eval, Throwable, x], E, A], ifEnd: XorT[Eval, Throwable, A]): Iteratee[[x]XorT[Eval, Throwable, x], E, A]

    Permalink

    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.

    Definition Classes
    IterateeModule
  11. final def cross[E1, E2](e2: Enumerator[[x]XorT[Eval, Throwable, x], E2]): Enumeratee[[x]XorT[Eval, Throwable, x], E1, (E1, E2)]

    Permalink

    Transform a stream by taking the cross-product with the given Enumerator.

    Transform a stream by taking the cross-product with the given Enumerator.

    Definition Classes
    EnumerateeModule
  12. final def done[E, A](value: A, remaining: Vector[E] = Vector.empty): Iteratee[[x]XorT[Eval, Throwable, x], E, A]

    Permalink

    Create a new completed Iteratee with the given result and leftover input.

    Create a new completed Iteratee with the given result and leftover input.

    Definition Classes
    IterateeModule
  13. final def drop[E](n: Long): Enumeratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

    An Enumeratee that drops a given number of the first values in a stream.

    An Enumeratee that drops a given number of the first values in a stream.

    Definition Classes
    EnumerateeModule
  14. final def dropI[E](n: Int): Iteratee[[x]XorT[Eval, Throwable, x], E, Unit]

    Permalink

    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.

    Definition Classes
    IterateeModule
  15. final def dropWhile[E](p: (E) ⇒ Boolean): Enumeratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

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

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

    Definition Classes
    EnumerateeModule
  16. final def dropWhileI[E](p: (E) ⇒ Boolean): Iteratee[[x]XorT[Eval, Throwable, x], E, Unit]

    Permalink

    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.

    Definition Classes
    IterateeModule
  17. final def dropWhileM[E](p: (E) ⇒ XorT[Eval, Throwable, Boolean]): Enumeratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

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

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

    Definition Classes
    EnumerateeModule
  18. final def empty[E]: Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An empty enumerator.

    An empty enumerator.

    Definition Classes
    EnumeratorModule
  19. final def enumIndexedSeq[E](es: IndexedSeq[E], min: Int = 0, max: Int = Int.MaxValue): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that produces values from a slice of an indexed sequence.

    An enumerator that produces values from a slice of an indexed sequence.

    Definition Classes
    EnumeratorModule
  20. final def enumList[E](es: List[E]): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that produces values from a list.

    An enumerator that produces values from a list.

    Definition Classes
    EnumeratorModule
  21. final def enumOne[E](e: E): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that produces a single value.

    An enumerator that produces a single value.

    Definition Classes
    EnumeratorModule
  22. final def enumStream[E](es: Stream[E]): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that produces values from a stream.

    An enumerator that produces values from a stream.

    Definition Classes
    EnumeratorModule
  23. final def enumVector[E](es: Vector[E]): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that produces values from a vector.

    An enumerator that produces values from a vector.

    Definition Classes
    EnumeratorModule
  24. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def failEnumerator[E](t: Throwable): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    Create a failed enumerator with the given error.

    Create a failed enumerator with the given error.

    Definition Classes
    EnumeratorErrorModule
  27. final def failIteratee[E, A](t: Throwable): Iteratee[[x]XorT[Eval, Throwable, x], E, A]

    Permalink

    Create a failed iteratee with the given error.

    Create a failed iteratee with the given error.

    Definition Classes
    IterateeErrorModule
  28. final def filter[E](p: (E) ⇒ Boolean): Enumeratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

    Drop values that do not satisfy the given predicate.

    Drop values that do not satisfy the given predicate.

    Definition Classes
    EnumerateeModule
  29. final def filterM[E](p: (E) ⇒ XorT[Eval, Throwable, Boolean]): Enumeratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

    Drop values that do not satisfy the given monadic predicate.

    Drop values that do not satisfy the given monadic predicate.

    Definition Classes
    EnumerateeModule
  30. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. final def flatMap[O, I](f: (O) ⇒ Enumerator[[x]XorT[Eval, Throwable, x], I]): Enumeratee[[x]XorT[Eval, Throwable, x], O, I]

    Permalink

    Map a function returning an Enumerator over a stream and flatten the results.

    Map a function returning an Enumerator over a stream and flatten the results.

    Definition Classes
    EnumerateeModule
  32. final def flatMapM[O, I](f: (O) ⇒ XorT[Eval, Throwable, I]): Enumeratee[[x]XorT[Eval, Throwable, x], O, I]

    Permalink

    Map a function returning a value in a context over a stream.

    Map a function returning a value in a context over a stream.

    Definition Classes
    EnumerateeModule
  33. final def fold[E, A](init: A)(f: (A, E) ⇒ A): Iteratee[[x]XorT[Eval, Throwable, x], E, A]

    Permalink

    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.

    Definition Classes
    IterateeModule
  34. final def foldM[E, A](init: A)(f: (A, E) ⇒ XorT[Eval, Throwable, A]): Iteratee[[x]XorT[Eval, Throwable, x], E, A]

    Permalink

    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.

    Definition Classes
    IterateeModule
  35. final def foldMap[E, A](f: (E) ⇒ A)(implicit A: Monoid[A]): Iteratee[[x]XorT[Eval, Throwable, x], E, A]

    Permalink

    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.

    Definition Classes
    IterateeModule
  36. final def foreach[E](f: (E) ⇒ Unit): Iteratee[[x]XorT[Eval, Throwable, x], E, Unit]

    Permalink

    An Iteratee that runs a function for its side effects.

    An Iteratee that runs a function for its side effects.

    Definition Classes
    IterateeModule
  37. final def foreachM[A](f: (A) ⇒ XorT[Eval, Throwable, Unit]): Iteratee[[x]XorT[Eval, Throwable, x], A, Unit]

    Permalink

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

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

    Definition Classes
    IterateeModule
  38. final def generateM[E](f: XorT[Eval, Throwable, Option[E]]): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that returns the result of an effectful operation until None is generated.

    An enumerator that returns the result of an effectful operation until None is generated.

    Definition Classes
    EnumeratorModule
  39. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def grouped[E](n: Int): Enumeratee[[x]XorT[Eval, Throwable, x], E, Vector[E]]

    Permalink

    Split the stream into groups of a given length.

    Split the stream into groups of a given length.

    Definition Classes
    EnumerateeModule
  41. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  42. final def head[E]: Iteratee[[x]XorT[Eval, Throwable, x], E, Option[E]]

    Permalink

    An Iteratee that returns the first value in a stream.

    An Iteratee that returns the first value in a stream.

    Definition Classes
    IterateeModule
  43. final def identity[E]: Iteratee[[x]XorT[Eval, Throwable, x], E, Unit]

    Permalink

    An iteratee that reads nothing from a stream.

    An iteratee that reads nothing from a stream.

    Definition Classes
    IterateeModule
  44. final def intersperse[E](delim: E): Enumeratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

    Add a value delim between every two items in a stream.

    Add a value delim between every two items in a stream.

    Definition Classes
    EnumerateeModule
  45. final def isEnd[E]: Iteratee[[x]XorT[Eval, Throwable, x], E, Boolean]

    Permalink

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

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

    Definition Classes
    IterateeModule
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. final def iterate[E](init: E)(f: (E) ⇒ E): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that iteratively performs an operation and returns the results.

    An enumerator that iteratively performs an operation and returns the results.

    Definition Classes
    EnumeratorModule
  48. final def iterateM[E](init: E)(f: (E) ⇒ XorT[Eval, Throwable, E]): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that iteratively performs an effectful operation and returns the results.

    An enumerator that iteratively performs an effectful operation and returns the results.

    Definition Classes
    EnumeratorModule
  49. final def iterateUntil[E](init: E)(f: (E) ⇒ Option[E]): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that iteratively performs an operation until None is produced and returns the results.

    An enumerator that iteratively performs an operation until None is produced and returns the results.

    Definition Classes
    EnumeratorModule
  50. final def iterateUntilM[E](init: E)(f: (E) ⇒ XorT[Eval, Throwable, Option[E]]): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that iteratively performs an effectful operation until None is produced and returns the results.

    An enumerator that iteratively performs an effectful operation until None is produced and returns the results.

    Definition Classes
    EnumeratorModule
  51. final def length[E]: Iteratee[[x]XorT[Eval, Throwable, x], E, Long]

    Permalink

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

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

    Definition Classes
    IterateeModule
  52. final def liftToEnumerator[E](fe: XorT[Eval, Throwable, E]): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    Lift an effectful value into an enumerator.

    Lift an effectful value into an enumerator.

    Definition Classes
    EnumeratorModule
  53. final def liftToIteratee[E]: LiftToIterateePartiallyApplied[E]

    Permalink

    Lift an effectful value into an iteratee.

    Lift an effectful value into an iteratee.

    Definition Classes
    IterateeModule
  54. final def map[O, I](f: (O) ⇒ I): Enumeratee[[x]XorT[Eval, Throwable, x], O, I]

    Permalink

    Map a function over a stream.

    Map a function over a stream.

    Definition Classes
    EnumerateeModule
  55. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  56. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  57. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  58. final def peek[E]: Iteratee[[x]XorT[Eval, Throwable, x], E, Option[E]]

    Permalink

    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.

    Definition Classes
    IterateeModule
  59. final def perform[E]: PerformPartiallyApplied[E]

    Permalink

    An enumerator that forces the evaluation of an effect when it is consumed.

    An enumerator that forces the evaluation of an effect when it is consumed.

    Definition Classes
    EnumeratorModule
  60. final def repeat[E](e: E): Enumerator[[x]XorT[Eval, Throwable, x], E]

    Permalink

    An enumerator that repeats the given value indefinitely.

    An enumerator that repeats the given value indefinitely.

    Definition Classes
    EnumeratorModule
  61. final def reversed[E]: Iteratee[[x]XorT[Eval, Throwable, x], E, List[E]]

    Permalink

    An Iteratee that collects all inputs in reverse order.

    An Iteratee that collects all inputs in reverse order.

    Definition Classes
    IterateeModule
  62. final def sequenceI[O, I](iteratee: Iteratee[[x]XorT[Eval, Throwable, x], O, I]): Enumeratee[[x]XorT[Eval, Throwable, x], O, I]

    Permalink

    Apply the given Iteratee repeatedly.

    Apply the given Iteratee repeatedly.

    Definition Classes
    EnumerateeModule
  63. final def splitOn[E](p: (E) ⇒ Boolean): Enumeratee[[x]XorT[Eval, Throwable, x], E, Vector[E]]

    Permalink

    Split the stream using the given predicate to identify delimiters.

    Split the stream using the given predicate to identify delimiters.

    Definition Classes
    EnumerateeModule
  64. final def sum[E](implicit E: Monoid[E]): Iteratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

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

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

    Definition Classes
    IterateeModule
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  66. object syntax

    Permalink

    Definition Classes
    Module
  67. final def take[E](n: Long): Enumeratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

    An Enumeratee that takes a given number of the first values in a stream.

    An Enumeratee that takes a given number of the first values in a stream.

    Definition Classes
    EnumerateeModule
  68. final def takeI[E](n: Int): Iteratee[[x]XorT[Eval, Throwable, x], E, Vector[E]]

    Permalink

    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.

    Definition Classes
    IterateeModule
  69. final def takeWhile[E](p: (E) ⇒ Boolean): Enumeratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

    An Enumeratee that takes values from a stream as long as they satisfy the given predicate.

    An Enumeratee that takes values from a stream as long as they satisfy the given predicate.

    Definition Classes
    EnumerateeModule
  70. final def takeWhileI[E](p: (E) ⇒ Boolean): Iteratee[[x]XorT[Eval, Throwable, x], E, Vector[E]]

    Permalink

    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.

    Definition Classes
    IterateeModule
  71. final def takeWhileM[E](p: (E) ⇒ XorT[Eval, Throwable, Boolean]): Enumeratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

    An Enumeratee that takes values from a stream as long as they satisfy the given monadic predicate.

    An Enumeratee that takes values from a stream as long as they satisfy the given monadic predicate.

    Definition Classes
    EnumerateeModule
  72. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  73. final def uniq[E](implicit E: Eq[E]): Enumeratee[[x]XorT[Eval, Throwable, x], E, E]

    Permalink

    Collapse consecutive duplicates.

    Collapse consecutive duplicates.

    Definition Classes
    EnumerateeModule
    Note

    Assumes that the stream is sorted.

  74. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. final def zipWithIndex[E]: Enumeratee[[x]XorT[Eval, Throwable, x], E, (E, Long)]

    Permalink

    Zip with the number of elements that have been encountered.

    Zip with the number of elements that have been encountered.

    Definition Classes
    EnumerateeModule

Inherited from XorModule

Inherited from IterateeErrorModule[[x]XorT[Eval, Throwable, x], Throwable]

Inherited from IterateeModule[[x]XorT[Eval, Throwable, x]]

Inherited from EnumeratorErrorModule[[x]XorT[Eval, Throwable, x], Throwable]

Inherited from EnumeratorModule[[x]XorT[Eval, Throwable, x]]

Inherited from EnumerateeModule[[x]XorT[Eval, Throwable, x]]

Inherited from Module[[x]XorT[Eval, Throwable, x]]

Inherited from AnyRef

Inherited from Any

Constructors

Enumerators

Iteratees

Enumeratees

Extension methods

Helper classes

Ungrouped