object Reducer extends ReducerInstances
- Source
- Reducer.scala
- Alphabetic
- By Inheritance
- Reducer
- ReducerInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- implicit val AllReducer: Reducer[Boolean, @@[Boolean, Conjunction]]
The "and" monoid.
The "and" monoid.
- Definition Classes
- ReducerInstances
- implicit val AnyReducer: Reducer[Boolean, Boolean]
The "or" monoid.
The "or" monoid.
- Definition Classes
- ReducerInstances
- implicit val BigIntProductReducer: Reducer[BigInt, @@[BigInt, Multiplication]]
- Definition Classes
- ReducerInstances
- implicit val ByteProductReducer: Reducer[Byte, @@[Byte, Multiplication]]
- Definition Classes
- ReducerInstances
- implicit val CharProductReducer: Reducer[Char, @@[Char, Multiplication]]
- Definition Classes
- ReducerInstances
- implicit def DualReducer[A](implicit arg0: Monoid[A]): Reducer[A, @@[A, Dual]]
- Definition Classes
- ReducerInstances
- implicit def EndoReducer[A]: Reducer[(A) ⇒ A, Endo[A]]
Accumulate endomorphisms.
Accumulate endomorphisms.
- Definition Classes
- ReducerInstances
- implicit def FirstOptionReducer[A]: Reducer[Option[A], @@[Option[A], First]]
- Definition Classes
- ReducerInstances
- implicit def FirstReducer[A]: Reducer[A, @@[Option[A], First]]
- Definition Classes
- ReducerInstances
- implicit def IListReducer[C]: Reducer[C, IList[C]]
Collect
C
s into an ilist, in order.Collect
C
s into an ilist, in order.- Definition Classes
- ReducerInstances
- implicit val IntProductReducer: Reducer[Int, @@[Int, Multiplication]]
- Definition Classes
- ReducerInstances
- implicit def LastOptionReducer[A]: Reducer[Option[A], @@[Option[A], Last]]
- Definition Classes
- ReducerInstances
- implicit def LastReducer[A]: Reducer[A, @@[Option[A], Last]]
- Definition Classes
- ReducerInstances
- implicit def ListReducer[C]: Reducer[C, List[C]]
Collect
C
s into a list, in order.Collect
C
s into a list, in order.- Definition Classes
- ReducerInstances
- implicit val LongProductReducer: Reducer[Long, @@[Long, Multiplication]]
- Definition Classes
- ReducerInstances
- implicit val ShortProductReducer: Reducer[Short, @@[Short, Multiplication]]
- Definition Classes
- ReducerInstances
- implicit def StreamReducer[C]: Reducer[C, Stream[C]]
Collect
C
s into a stream, in order.Collect
C
s into a stream, in order.- Definition Classes
- ReducerInstances
- implicit def UnitReducer[C]: Reducer[C, Unit]
Ignore
C
s.Ignore
C
s.- Definition Classes
- ReducerInstances
- implicit def VectorReducer[C]: Reducer[C, Vector[C]]
Collect
C
s into a vector, in order.Collect
C
s into a vector, in order.- Definition Classes
- ReducerInstances
- 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
, andsnoc
.Reducer derived from
unit
,cons
, andsnoc
. Permits more sharing thanUnitReducer.apply
. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- 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])
- def foldReduce[F[_], A, B](a: F[A])(implicit f: Foldable[F], r: Reducer[A, B]): B
- Definition Classes
- ReducerInstances
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
- 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()
- 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
- final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unitConsReducer[C, M](u: (C) ⇒ M, cs: (C) ⇒ (M) ⇒ M)(implicit mm: Monoid[M]): Reducer[C, M]
- Definition Classes
- ReducerInstances
- def unitLazyConsReducer[C, M](u: (C) ⇒ M, cs: (C, ⇒ M) ⇒ M)(implicit mm: Monoid[M]): Reducer[C, M]
- Definition Classes
- ReducerInstances
- 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
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.InterruptedException])