Package

algebra

instances

Permalink

package instances

Visibility
  1. Public
  2. All

Type Members

  1. trait AllInstances extends ArrayInstances with BigDecimalInstances with BigIntInstances with BitSetInstances with BooleanInstances with ByteInstances with CharInstances with DoubleInstances with FloatInstances with IntInstances with ListInstances with LongInstances with MapInstances with OptionInstances with SetInstances with ShortInstances with StringInstances with TupleInstances with UnitInstances

    Permalink
  2. trait ArrayInstances extends AnyRef

    Permalink
  3. class BigDecimalAlgebra extends Field[BigDecimal] with Serializable

    Permalink
  4. trait BigDecimalInstances extends cats.kernel.instances.BigDecimalInstances

    Permalink
  5. class BigIntAlgebra extends CommutativeRing[BigInt] with Serializable

    Permalink
  6. trait BigIntInstances extends cats.kernel.instances.BigIntInstances

    Permalink
  7. class BitSetAlgebra extends GenBool[BitSet] with Serializable

    Permalink
  8. trait BitSetInstances extends cats.kernel.instances.BitSetInstances

    Permalink
  9. class BooleanAlgebra extends Bool[Boolean] with CommutativeRig[Boolean]

    Permalink

    This commutative rig is different than the one obtained from GF(2).

    This commutative rig is different than the one obtained from GF(2).

    It uses || for plus, and && for times.

  10. trait BooleanInstances extends cats.kernel.instances.BooleanInstances

    Permalink
  11. class ByteAlgebra extends CommutativeRing[Byte] with Serializable

    Permalink
  12. trait ByteInstances extends cats.kernel.instances.ByteInstances

    Permalink
  13. trait CharInstances extends cats.kernel.instances.CharInstances

    Permalink
  14. class DoubleAlgebra extends Field[Double] with Serializable

    Permalink

    Due to the way floating-point equality works, this instance is not lawful under equality, but is correct when taken as an approximation of an exact value.

    Due to the way floating-point equality works, this instance is not lawful under equality, but is correct when taken as an approximation of an exact value.

    If you would prefer an absolutely lawful fractional value, you'll need to investigate rational numbers or more exotic types.

  15. trait DoubleInstances extends cats.kernel.instances.DoubleInstances

    Permalink
  16. class FloatAlgebra extends Field[Float] with Serializable

    Permalink

    Due to the way floating-point equality works, this instance is not lawful under equality, but is correct when taken as an approximation of an exact value.

    Due to the way floating-point equality works, this instance is not lawful under equality, but is correct when taken as an approximation of an exact value.

    If you would prefer an absolutely lawful fractional value, you'll need to investigate rational numbers or more exotic types.

  17. trait FloatInstances extends cats.kernel.instances.FloatInstances

    Permalink
  18. class IntAlgebra extends CommutativeRing[Int] with Serializable

    Permalink
  19. trait IntInstances extends cats.kernel.instances.IntInstances

    Permalink
  20. trait ListInstances extends cats.kernel.instances.ListInstances

    Permalink
  21. class LongAlgebra extends CommutativeRing[Long] with Serializable

    Permalink
  22. trait LongInstances extends cats.kernel.instances.LongInstances

    Permalink
  23. class MapAdditiveMonoid[K, V] extends AdditiveMonoid[Map[K, V]]

    Permalink
  24. trait MapInstances extends cats.kernel.instances.MapInstances with MapInstances3

    Permalink
  25. trait MapInstances0 extends AnyRef

    Permalink
  26. trait MapInstances1 extends MapInstances0

    Permalink
  27. trait MapInstances2 extends MapInstances1

    Permalink
  28. trait MapInstances3 extends MapInstances2

    Permalink
  29. class MapSemiring[K, V] extends MapAdditiveMonoid[K, V] with Semiring[Map[K, V]]

    Permalink
  30. trait OptionInstances extends cats.kernel.instances.OptionInstances

    Permalink
  31. class SetBoolRng[A] extends BoolRng[Set[A]]

    Permalink
  32. trait SetInstances extends cats.kernel.instances.SetInstances

    Permalink
  33. class SetLattice[A] extends GenBool[Set[A]]

    Permalink
  34. class SetSemiring[A] extends Semiring[Set[A]]

    Permalink
  35. class ShortAlgebra extends CommutativeRing[Short] with Serializable

    Permalink
  36. trait ShortInstances extends cats.kernel.instances.ShortInstances

    Permalink
  37. trait StringInstances extends cats.kernel.instances.StringInstances

    Permalink
  38. trait TupleInstances extends cats.kernel.instances.TupleInstances

    Permalink
  39. class UnitAlgebra extends CommutativeRing[Unit]

    Permalink
  40. trait UnitInstances extends cats.kernel.instances.UnitInstances

    Permalink

Value Members

  1. object StaticMethods

    Permalink

Ungrouped