Class

com.twitter.algebird

ApplicativeRing

Related Doc: package algebird

Permalink

class ApplicativeRing[T, M[_]] extends ApplicativeGroup[T, M] with Ring[M[T]]

Group, Ring, and Field ARE NOT AUTOMATIC. You have to check that the laws hold for your Applicative. If your M[_] is a wrapper type (Option[_], Some[_], Try[_], Future[_], etc...) this generally works.

Linear Supertypes
Ring[M[T]], ApplicativeGroup[T, M], Group[M[T]], ApplicativeMonoid[T, M], Monoid[M[T]], ApplicativeSemigroup[T, M], Semigroup[M[T]], Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ApplicativeRing
  2. Ring
  3. ApplicativeGroup
  4. Group
  5. ApplicativeMonoid
  6. Monoid
  7. ApplicativeSemigroup
  8. Semigroup
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ApplicativeRing()(implicit app: Applicative[M], ring: Ring[T])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def assertNotZero(v: M[T]): Unit

    Permalink
    Definition Classes
    Monoid
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def isNonZero(v: M[T]): Boolean

    Permalink
    Definition Classes
    Monoid
  14. def minus(l: M[T], r: M[T]): M[T]

    Permalink
    Definition Classes
    ApplicativeGroupGroup
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def negate(v: M[T]): M[T]

    Permalink
    Definition Classes
    ApplicativeGroupGroup
  17. def nonZeroOption(v: M[T]): Option[M[T]]

    Permalink
    Definition Classes
    Monoid
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. lazy val one: M[T]

    Permalink
    Definition Classes
    ApplicativeRingRing
  21. def plus(l: M[T], r: M[T]): M[T]

    Permalink
    Definition Classes
    ApplicativeSemigroupSemigroup
  22. def product(iter: TraversableOnce[M[T]]): M[T]

    Permalink
    Definition Classes
    Ring
  23. def sum(vs: TraversableOnce[M[T]]): M[T]

    Permalink
    Definition Classes
    Monoid
  24. def sumOption(iter: TraversableOnce[M[T]]): Option[M[T]]

    Permalink

    override this if there is a faster way to do this sum than reduceLeftOption on plus

    override this if there is a faster way to do this sum than reduceLeftOption on plus

    Definition Classes
    Semigroup
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def times(l: M[T], r: M[T]): M[T]

    Permalink
    Definition Classes
    ApplicativeRingRing
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. lazy val zero: M[T]

    Permalink
    Definition Classes
    ApplicativeMonoidMonoid

Inherited from Ring[M[T]]

Inherited from ApplicativeGroup[T, M]

Inherited from Group[M[T]]

Inherited from ApplicativeMonoid[T, M]

Inherited from Monoid[M[T]]

Inherited from ApplicativeSemigroup[T, M]

Inherited from Semigroup[M[T]]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped