sealed abstract class UnitReducer[C, M] extends Reducer[C, M]
- Source
- Reducer.scala
- Alphabetic
- By Inheritance
- UnitReducer
- Reducer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait ReducerLaw extends AnyRef
- Definition Classes
- Reducer
Abstract Value Members
- implicit abstract def monoid: Monoid[M]
- Definition Classes
- UnitReducer → Reducer
- abstract def unit(c: C): M
- Definition Classes
- UnitReducer → Reducer
Concrete 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
- def append(a1: M, a2: => M): M
- Definition Classes
- Reducer
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compose[N](r: Reducer[C, N]): Reducer[C, (M, N)]
Distribute
C
s toM
andN
.Distribute
C
s toM
andN
.- Definition Classes
- Reducer
- def cons(c: C, m: M): M
Faster
append(unit(c), m)
.Faster
append(unit(c), m)
.- Definition Classes
- UnitReducer → Reducer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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 reducerLaw: ReducerLaw
- Definition Classes
- Reducer
- def snoc(m: M, c: C): M
Faster
append(m, unit(c))
.Faster
append(m, unit(c))
.- Definition Classes
- UnitReducer → Reducer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def unfoldl[B](seed: B)(f: (B) => Maybe[(B, C)]): M
- Definition Classes
- Reducer
- def unfoldr[B](seed: B)(f: (B) => Maybe[(C, B)]): M
- Definition Classes
- Reducer
- 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
- @throws(classOf[java.lang.InterruptedException]) @native()
- def zero: M
- Definition Classes
- Reducer