Producer

org.specs2.control.producer.Producer
See theProducer companion class
object Producer extends Producers

Attributes

Companion
class
Graph
Supertypes
trait Producers
class Object
trait Matchable
class Any
Self type
Producer.type

Members list

Value members

Inherited methods

def chunk[R : _Safe, A](size: Int)(producer: Producer[R, A]): Producer[R, A]

accumulate chunks of size n inside More nodes

accumulate chunks of size n inside More nodes

Attributes

Inherited from:
Producers
def collect[R : _Safe, A](producer: Producer[R, A])(implicit evidence$21: _Safe[R], m: Member[[_] =>> Writer[A, _$8], R]): Eff[R, Unit]

Attributes

Inherited from:
Producers
def done[R : _Safe, A]: Producer[R, A]

Attributes

Inherited from:
Producers
def emit[R : _Safe, A](elements: List[A]): Producer[R, A]

Attributes

Inherited from:
Producers
def emitEff[R : _Safe, A](elements: Eff[R, List[A]]): Producer[R, A]

Attributes

Inherited from:
Producers
def emitSeq[R : _Safe, A](elements: Seq[A]): Producer[R, A]

Attributes

Inherited from:
Producers
def empty[R : _Safe, A]: Producer[R, A]

Attributes

Inherited from:
Producers
def eval[R : _Safe, A](a: Eff[R, A]): Producer[R, A]

Attributes

Inherited from:
Producers
def evalProducer[R : _Safe, A](a: Eff[R, Producer[R, A]]): Producer[R, A]

Attributes

Inherited from:
Producers
def fill[R : _Safe, A](n: Int)(p: Producer[R, A]): Producer[R, A]

Attributes

Inherited from:
Producers
def filter[R : _Safe, A](producer: Producer[R, A])(f: A => Boolean): Producer[R, A]

Attributes

Inherited from:
Producers
def flatten[R : _Safe, A](producer: Producer[R, Producer[R, A]]): Producer[R, A]

Attributes

Inherited from:
Producers
def flattenList[R : _Safe, A](producer: Producer[R, List[A]]): Producer[R, A]

Attributes

Inherited from:
Producers
def flattenProducers[R : _Safe, A](producers: List[Producer[R, A]]): Producer[R, A]

Attributes

Inherited from:
Producers
def flattenSeq[R : _Safe, A](producer: Producer[R, Seq[A]]): Producer[R, A]

Attributes

Inherited from:
Producers
def fold[R : _Safe, A, B, S](producer: Producer[R, A])(start: Eff[R, S], f: (S, A) => Eff[R, S], end: S => Eff[R, B]): Eff[R, B]

Attributes

Inherited from:
Producers
def into[R, U, A](producer: Producer[R, A])(implicit intoPoly: IntoPoly[R, U], s: _Safe[U]): Producer[U, A]

Attributes

Inherited from:
Producers
def observe[R : _Safe, A, S](producer: Producer[R, A])(start: Eff[R, S], f: (S, A) => S, end: S => Eff[R, Unit]): Producer[R, A]

Attributes

Inherited from:
Producers
def one[R : _Safe, A](a: A): Producer[R, A]

Attributes

Inherited from:
Producers
def oneEff[R : _Safe, A](e: Eff[R, A]): Producer[R, A]

Attributes

Inherited from:
Producers
def oneOrMore[R : _Safe, A](a: A, as: List[A]): Producer[R, A]

Attributes

Inherited from:
Producers
def peek[R : _Safe, A](producer: Producer[R, A]): Eff[R, (Option[A], Producer[R, A])]

Attributes

Inherited from:
Producers
def peekN[R : _Safe, A](producer: Producer[R, A], n: Int): Eff[R, (List[A], Producer[R, A])]

Attributes

Inherited from:
Producers
def pipe[R, A, B](p: Producer[R, A], t: (R, A) => B): Producer[R, B]

Attributes

Inherited from:
Producers
def repeat[R : _Safe, A](p: Producer[R, A]): Producer[R, A]

Attributes

Inherited from:
Producers
def repeatEval[R : _Safe, A](e: Eff[R, A]): Producer[R, A]

Attributes

Inherited from:
Producers
def repeatValue[R : _Safe, A](a: A): Producer[R, A]

Attributes

Inherited from:
Producers
def runLast[R : _Safe, A](producer: Producer[R, A]): Eff[R, Option[A]]

Attributes

Inherited from:
Producers
def runList[R : _Safe, A](producer: Producer[R, A]): Eff[R, List[A]]

Attributes

Inherited from:
Producers
def sequence[R : _Safe, F[_], A](n: Int)(producer: Producer[R, Eff[R, A]]): Producer[R, A]

Attributes

Inherited from:
Producers
def sliding[R : _Safe, A](size: Int)(producer: Producer[R, A]): Producer[R, List[A]]

Attributes

Inherited from:
Producers

Implicits

Implicits

implicit def FoldableProducer: Foldable[[_] =>> Producer[NoFx, _$1]]
implicit def MonoidProducer[R : _Safe, A]: Monoid[Producer[R, A]]
implicit def ProducerMonad[R : _Safe]: Monad[[_] =>> Producer[R, _$3]]