Generator

trait Generator[C[_]]

A Generator[C] is a container of elements, and which knows how to efficiently apply a scalaz.Reducer to extract an answer by combining elements. A Reducer may supply efficient left-to-right and right-to-left reduction strategies that a Generator may avail itself of.

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def from[E, M](r: Reducer[E, M], c: C[E], m: M): M
def reduce[E, M](r: Reducer[E, M], c: C[E]): M
def to[E, M](r: Reducer[E, M], m: M, c: C[E]): M