Packages

object Reducer extends ReducerInstances

Source
Reducer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Reducer
  2. ReducerInstances
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit val AllReducer: Reducer[Boolean, @@[Boolean, Conjunction]]

    The "and" monoid.

    The "and" monoid.

    Definition Classes
    ReducerInstances
  5. implicit val AnyReducer: Reducer[Boolean, Boolean]

    The "or" monoid.

    The "or" monoid.

    Definition Classes
    ReducerInstances
  6. implicit val BigIntProductReducer: Reducer[BigInt, @@[BigInt, Multiplication]]
    Definition Classes
    ReducerInstances
  7. implicit val ByteProductReducer: Reducer[Byte, @@[Byte, Multiplication]]
    Definition Classes
    ReducerInstances
  8. implicit val CharProductReducer: Reducer[Char, @@[Char, Multiplication]]
    Definition Classes
    ReducerInstances
  9. implicit def DualReducer[A](implicit arg0: Monoid[A]): Reducer[A, @@[A, Dual]]
    Definition Classes
    ReducerInstances
  10. implicit def EndoReducer[A]: Reducer[(A) ⇒ A, Endo[A]]

    Accumulate endomorphisms.

    Accumulate endomorphisms.

    Definition Classes
    ReducerInstances
  11. implicit def FirstOptionReducer[A]: Reducer[Option[A], @@[Option[A], First]]
    Definition Classes
    ReducerInstances
  12. implicit def FirstReducer[A]: Reducer[A, @@[Option[A], First]]
    Definition Classes
    ReducerInstances
  13. implicit def IListReducer[C]: Reducer[C, IList[C]]

    Collect Cs into an ilist, in order.

    Collect Cs into an ilist, in order.

    Definition Classes
    ReducerInstances
  14. implicit val IntProductReducer: Reducer[Int, @@[Int, Multiplication]]
    Definition Classes
    ReducerInstances
  15. implicit def LastOptionReducer[A]: Reducer[Option[A], @@[Option[A], Last]]
    Definition Classes
    ReducerInstances
  16. implicit def LastReducer[A]: Reducer[A, @@[Option[A], Last]]
    Definition Classes
    ReducerInstances
  17. implicit def ListReducer[C]: Reducer[C, List[C]]

    Collect Cs into a list, in order.

    Collect Cs into a list, in order.

    Definition Classes
    ReducerInstances
  18. implicit val LongProductReducer: Reducer[Long, @@[Long, Multiplication]]
    Definition Classes
    ReducerInstances
  19. implicit val ShortProductReducer: Reducer[Short, @@[Short, Multiplication]]
    Definition Classes
    ReducerInstances
  20. implicit def StreamReducer[C]: Reducer[C, Stream[C]]

    Collect Cs into a stream, in order.

    Collect Cs into a stream, in order.

    Definition Classes
    ReducerInstances
  21. implicit def UnitReducer[C]: Reducer[C, Unit]

    Ignore Cs.

    Ignore Cs.

    Definition Classes
    ReducerInstances
  22. implicit def VectorReducer[C]: Reducer[C, Vector[C]]

    Collect Cs into a vector, in order.

    Collect Cs into a vector, in order.

    Definition Classes
    ReducerInstances
  23. def apply[C, M](u: (C) ⇒ M, cs: (C) ⇒ (M) ⇒ M, sc: (M) ⇒ (C) ⇒ M)(implicit mm: Monoid[M]): Reducer[C, M]

    Reducer derived from unit, cons, and snoc.

    Reducer derived from unit, cons, and snoc. Permits more sharing than UnitReducer.apply.

  24. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  25. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  28. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. def foldReduce[F[_], A, B](a: F[A])(implicit f: Foldable[F], r: Reducer[A, B]): B
    Definition Classes
    ReducerInstances
  30. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def identityReducer[M](implicit mm: Monoid[M]): Reducer[M, M]

    The reducer derived from any monoid.

    The reducer derived from any monoid. Not implicit because it is suboptimal for most reducer applications.

    Definition Classes
    ReducerInstances
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def reducer[C, M](u: (C) ⇒ M, cs: (C) ⇒ (M) ⇒ M, sc: (M) ⇒ (C) ⇒ M)(implicit mm: Monoid[M]): Reducer[C, M]

    Alias for scalaz.Reducer.apply.

    Alias for scalaz.Reducer.apply.

    Definition Classes
    ReducerInstances
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def unitConsReducer[C, M](u: (C) ⇒ M, cs: (C) ⇒ (M) ⇒ M)(implicit mm: Monoid[M]): Reducer[C, M]
    Definition Classes
    ReducerInstances
  41. def unitLazyConsReducer[C, M](u: (C) ⇒ M, cs: (C, ⇒ M) ⇒ M)(implicit mm: Monoid[M]): Reducer[C, M]
    Definition Classes
    ReducerInstances
  42. def unitReducer[C, M](u: (C) ⇒ M)(implicit mm: Monoid[M]): Reducer[C, M]

    Alias for scalaz.UnitReducer.apply.

    Alias for scalaz.UnitReducer.apply.

    Definition Classes
    ReducerInstances
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ReducerInstances

Inherited from AnyRef

Inherited from Any

Ungrouped