sealed abstract class ReducerInstances extends AnyRef
- Alphabetic
- By Inheritance
- 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" semigroup.
-
implicit
val
AnyReducer: Reducer[Boolean, Boolean]
The "or" semigroup.
- implicit val BigIntProductReducer: Reducer[BigInt, @@[BigInt, Multiplication]]
- implicit val ByteProductReducer: Reducer[Byte, @@[Byte, Multiplication]]
- implicit val CharProductReducer: Reducer[Char, @@[Char, Multiplication]]
- implicit def DualReducer[A](implicit arg0: Semigroup[A]): Reducer[A, @@[A, Dual]]
-
implicit
def
EndoReducer[A]: Reducer[(A) ⇒ A, Endo[A]]
Accumulate endomorphisms.
- implicit def FirstOptionReducer[A]: Reducer[Option[A], @@[Option[A], First]]
- implicit def FirstReducer[A]: Reducer[A, @@[Option[A], First]]
-
implicit
def
IListReducer[C]: Reducer[C, IList[C]]
Collect
C
s into an ilist, in order. - implicit val IntProductReducer: Reducer[Int, @@[Int, Multiplication]]
- implicit def LastOptionReducer[A]: Reducer[Option[A], @@[Option[A], Last]]
- implicit def LastReducer[A]: Reducer[A, @@[Option[A], Last]]
-
implicit
def
ListReducer[C]: Reducer[C, List[C]]
Collect
C
s into a list, in order. - implicit val LongProductReducer: Reducer[Long, @@[Long, Multiplication]]
-
implicit
def
NonEmptyListReducer[C]: Reducer[C, NonEmptyList[C]]
Collect
C
s into an NonEmptyList, in order. - def ReverseListReducer[C]: Reducer[C, List[C]]
- def ReverseNonEmptyListReducer[C]: Reducer[C, NonEmptyList[C]]
- implicit val ShortProductReducer: Reducer[Short, @@[Short, Multiplication]]
-
implicit
def
StreamReducer[C]: Reducer[C, Stream[C]]
Collect
C
s into a stream, in order. -
implicit
def
UnitReducer[C]: Reducer[C, Unit]
Ignore
C
s. -
implicit
def
VectorReducer[C]: Reducer[C, Vector[C]]
Collect
C
s into a vector, in order. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def foldReduce[F[_], A, B](a: F[A])(implicit arg0: Monoid[B], f: Foldable[F], r: Reducer[A, B]): B
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
identityReducer[M](implicit mm: Semigroup[M]): Reducer[M, M]
The reducer derived from any semigroup.
The reducer derived from any semigroup. Not implicit because it is suboptimal for most reducer applications.
-
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 sm: Semigroup[M]): Reducer[C, M]
Alias for scalaz.Reducer
.apply
. -
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 sm: Semigroup[M]): Reducer[C, M]
- def unitLazyConsReducer[C, M](u: (C) ⇒ M, cs: (C, ⇒ M) ⇒ M)(implicit sm: Semigroup[M]): Reducer[C, M]
-
def
unitReducer[C, M](u: (C) ⇒ M)(implicit mm: Semigroup[M]): Reducer[C, M]
Alias for scalaz.UnitReducer
.apply
. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()