Package

cats.kernel

instances

Permalink

package instances

Visibility
  1. Public
  2. All

Type Members

  1. trait AllInstances extends BigDecimalInstances with BigIntInstances with BitSetInstances with BooleanInstances with ByteInstances with CharInstances with DoubleInstances with EqInstances with EitherInstances with DurationInstances with FloatInstances with FunctionInstances with HashInstances with IntInstances with ListInstances with LongInstances with MapInstances with OptionInstances with OrderInstances with PartialOrderInstances with QueueInstances with SetInstances with ShortInstances with StreamInstances with StringInstances with SymbolInstances with TupleInstances with UnitInstances with UUIDInstances with VectorInstances

    Permalink
  2. trait AllInstancesBinCompat0 extends FiniteDurationInstances

    Permalink
  3. class BigDecimalGroup extends CommutativeGroup[BigDecimal]

    Permalink
  4. trait BigDecimalInstances extends AnyRef

    Permalink
  5. class BigDecimalOrder extends Order[BigDecimal] with Hash[BigDecimal]

    Permalink
  6. class BigIntGroup extends CommutativeGroup[BigInt]

    Permalink
  7. trait BigIntInstances extends AnyRef

    Permalink
  8. class BigIntOrder extends Order[BigInt] with Hash[BigInt]

    Permalink
  9. trait BitSetInstances extends AnyRef

    Permalink
  10. class BitSetPartialOrder extends PartialOrder[BitSet] with Hash[BitSet]

    Permalink
  11. class BitSetSemilattice extends BoundedSemilattice[BitSet]

    Permalink
  12. trait BooleanBounded extends LowerBounded[Boolean] with UpperBounded[Boolean]

    Permalink
  13. trait BooleanInstances extends AnyRef

    Permalink
  14. class BooleanOrder extends Order[Boolean] with Hash[Boolean] with BooleanBounded

    Permalink
  15. trait ByteBounded extends LowerBounded[Byte] with UpperBounded[Byte]

    Permalink
  16. class ByteGroup extends CommutativeGroup[Byte]

    Permalink
  17. trait ByteInstances extends AnyRef

    Permalink
  18. class ByteOrder extends Order[Byte] with Hash[Byte] with ByteBounded

    Permalink
  19. trait CharBounded extends LowerBounded[Char] with UpperBounded[Char]

    Permalink
  20. trait CharInstances extends AnyRef

    Permalink
  21. class CharOrder extends Order[Char] with Hash[Char] with CharBounded

    Permalink
  22. class DoubleGroup extends CommutativeGroup[Double]

    Permalink
  23. trait DoubleInstances extends AnyRef

    Permalink
  24. class DoubleOrder extends Order[Double] with Hash[Double]

    Permalink
  25. trait DurationBounded extends LowerBounded[Duration] with UpperBounded[Duration]

    Permalink
  26. class DurationGroup extends CommutativeGroup[Duration]

    Permalink

    This group models addition, but has a few problematic edge cases.

    This group models addition, but has a few problematic edge cases.

    1. finite values can overflow, throwing an exception 2. inf + (-inf) = undefined, not zero 3. undefined + zero = undefined
  27. trait DurationInstances extends AnyRef

    Permalink
  28. class DurationOrder extends Order[Duration] with Hash[Duration] with DurationBounded

    Permalink

    This ordering is valid for all defined durations.

    This ordering is valid for all defined durations.

    The value Duration.Undefined breaks our laws, because undefined values are not equal to themselves.

  29. class EitherEq[A, B] extends Eq[Either[A, B]]

    Permalink
  30. class EitherHash[A, B] extends EitherEq[A, B] with Hash[Either[A, B]]

    Permalink
  31. trait EitherInstances extends EitherInstances0

    Permalink
  32. trait EitherInstances0 extends EitherInstances1

    Permalink
  33. trait EitherInstances1 extends AnyRef

    Permalink
  34. trait EqInstances extends EqToEquivConversion

    Permalink
  35. trait FiniteDurationBounded extends LowerBounded[FiniteDuration] with UpperBounded[FiniteDuration]

    Permalink
  36. class FiniteDurationGroup extends CommutativeGroup[FiniteDuration]

    Permalink
  37. trait FiniteDurationInstances extends AnyRef

    Permalink
  38. class FiniteDurationOrder extends Order[FiniteDuration] with Hash[FiniteDuration] with FiniteDurationBounded

    Permalink
  39. class FloatGroup extends CommutativeGroup[Float]

    Permalink

    This is only approximately associative.

  40. trait FloatInstances extends AnyRef

    Permalink
  41. class FloatOrder extends Order[Float] with Hash[Float]

    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.

  42. trait Function0Group[A] extends Function0Monoid[A] with Group[() ⇒ A]

    Permalink
  43. trait Function0Monoid[A] extends Function0Semigroup[A] with Monoid[() ⇒ A]

    Permalink
  44. trait Function0Semigroup[A] extends Semigroup[() ⇒ A]

    Permalink
  45. trait Function1Group[A, B] extends Function1Monoid[A, B] with Group[(A) ⇒ B]

    Permalink
  46. trait Function1Monoid[A, B] extends Function1Semigroup[A, B] with Monoid[(A) ⇒ B]

    Permalink
  47. trait Function1Semigroup[A, B] extends Semigroup[(A) ⇒ B]

    Permalink
  48. trait FunctionInstances extends FunctionInstances0

    Permalink
  49. trait FunctionInstances0 extends FunctionInstances1

    Permalink
  50. trait FunctionInstances1 extends FunctionInstances2

    Permalink
  51. trait FunctionInstances2 extends FunctionInstances3

    Permalink
  52. trait FunctionInstances3 extends FunctionInstances4

    Permalink
  53. trait FunctionInstances4 extends AnyRef

    Permalink
  54. trait HashInstances extends HashToHashingConversion

    Permalink
  55. trait IntBounded extends LowerBounded[Int] with UpperBounded[Int]

    Permalink
  56. class IntGroup extends CommutativeGroup[Int]

    Permalink
  57. trait IntInstances extends AnyRef

    Permalink
  58. class IntOrder extends Order[Int] with Hash[Int] with IntBounded

    Permalink
  59. class ListEq[A] extends Eq[List[A]]

    Permalink
  60. class ListHash[A] extends ListEq[A] with Hash[List[A]]

    Permalink
  61. trait ListInstances extends ListInstances1

    Permalink
    Annotations
    @suppressUnusedImportWarningForScalaVersionSpecific()
  62. trait ListInstances1 extends ListInstances2

    Permalink
  63. trait ListInstances2 extends AnyRef

    Permalink
  64. class ListMonoid[A] extends Monoid[List[A]]

    Permalink
  65. class ListOrder[A] extends Order[List[A]]

    Permalink
  66. class ListPartialOrder[A] extends PartialOrder[List[A]]

    Permalink
  67. trait LongBounded extends LowerBounded[Long] with UpperBounded[Long]

    Permalink
  68. class LongGroup extends CommutativeGroup[Long]

    Permalink
  69. trait LongInstances extends AnyRef

    Permalink
  70. class LongOrder extends Order[Long] with Hash[Long] with LongBounded

    Permalink
  71. class MapEq[K, V] extends Eq[Map[K, V]]

    Permalink
  72. class MapHash[K, V] extends MapEq[K, V] with Hash[Map[K, V]]

    Permalink
  73. trait MapInstances extends MapInstances1

    Permalink
    Annotations
    @suppressUnusedImportWarningForScalaVersionSpecific()
  74. trait MapInstances1 extends AnyRef

    Permalink
  75. class MapMonoid[K, V] extends Monoid[Map[K, V]]

    Permalink
  76. class OptionEq[A] extends Eq[Option[A]]

    Permalink
  77. class OptionHash[A] extends OptionEq[A] with Hash[Option[A]]

    Permalink
  78. trait OptionInstances extends OptionInstances0

    Permalink
  79. trait OptionInstances0 extends OptionInstances1

    Permalink
  80. trait OptionInstances1 extends OptionInstances2

    Permalink
  81. trait OptionInstances2 extends AnyRef

    Permalink
  82. class OptionMonoid[A] extends Monoid[Option[A]]

    Permalink
  83. class OptionOrder[A] extends Order[Option[A]]

    Permalink
  84. class OptionPartialOrder[A] extends PartialOrder[Option[A]]

    Permalink
  85. trait OrderInstances extends OrderToOrderingConversion

    Permalink
  86. trait PartialOrderInstances extends PartialOrderToPartialOrderingConversion

    Permalink
  87. class QueueEq[A] extends Eq[Queue[A]]

    Permalink
  88. class QueueHash[A] extends QueueEq[A] with Hash[Queue[A]]

    Permalink
  89. trait QueueInstances extends QueueInstances1

    Permalink
    Annotations
    @suppressUnusedImportWarningForScalaVersionSpecific()
  90. trait QueueInstances1 extends QueueInstances2

    Permalink
  91. trait QueueInstances2 extends AnyRef

    Permalink
  92. class QueueMonoid[A] extends Monoid[Queue[A]]

    Permalink
  93. class QueueOrder[A] extends Order[Queue[A]]

    Permalink
  94. class QueuePartialOrder[A] extends PartialOrder[Queue[A]]

    Permalink
  95. class SetHash[A] extends Hash[Set[A]]

    Permalink
  96. trait SetInstances extends SetInstances1

    Permalink
  97. trait SetInstances1 extends AnyRef

    Permalink
  98. class SetPartialOrder[A] extends PartialOrder[Set[A]]

    Permalink
  99. class SetSemilattice[A] extends BoundedSemilattice[Set[A]]

    Permalink
  100. trait ShortBounded extends LowerBounded[Short] with UpperBounded[Short]

    Permalink
  101. class ShortGroup extends CommutativeGroup[Short]

    Permalink
  102. trait ShortInstances extends AnyRef

    Permalink
  103. class ShortOrder extends Order[Short] with Hash[Short] with ShortBounded

    Permalink
  104. class StreamEq[A] extends Eq[LazyList[A]]

    Permalink
  105. class StreamHash[A] extends StreamEq[A] with Hash[LazyList[A]]

    Permalink
  106. trait StreamInstances extends StreamInstances1

    Permalink
    Annotations
    @suppressUnusedImportWarningForScalaVersionSpecific()
  107. trait StreamInstances1 extends StreamInstances2

    Permalink
  108. trait StreamInstances2 extends AnyRef

    Permalink
  109. class StreamMonoid[A] extends Monoid[LazyList[A]]

    Permalink
  110. class StreamOrder[A] extends Order[LazyList[A]]

    Permalink
  111. class StreamPartialOrder[A] extends PartialOrder[LazyList[A]]

    Permalink
  112. trait StringInstances extends AnyRef

    Permalink
    Annotations
    @suppressUnusedImportWarningForScalaVersionSpecific()
  113. trait StringLowerBounded extends LowerBounded[String]

    Permalink
  114. class StringMonoid extends Monoid[String]

    Permalink
  115. class StringOrder extends Order[String] with Hash[String] with StringLowerBounded

    Permalink
  116. trait SymbolInstances extends AnyRef

    Permalink
  117. trait SymbolLowerBounded extends LowerBounded[Symbol]

    Permalink
  118. class SymbolOrder extends Order[Symbol] with Hash[Symbol] with SymbolLowerBounded

    Permalink
  119. trait TupleInstances extends TupleInstances1

    Permalink
  120. trait TupleInstances1 extends TupleInstances2

    Permalink
  121. trait TupleInstances2 extends TupleInstances3

    Permalink
  122. trait TupleInstances3 extends AnyRef

    Permalink
  123. trait UUIDBounded extends LowerBounded[UUID] with UpperBounded[UUID]

    Permalink
  124. trait UUIDInstances extends AnyRef

    Permalink
  125. class UnitAlgebra extends BoundedSemilattice[Unit] with CommutativeGroup[Unit]

    Permalink
  126. trait UnitBounded extends LowerBounded[Unit] with UpperBounded[Unit]

    Permalink
  127. trait UnitInstances extends AnyRef

    Permalink
    Annotations
    @suppressUnusedImportWarningForScalaVersionSpecific()
  128. class UnitOrder extends Order[Unit] with Hash[Unit] with UnitBounded

    Permalink
  129. class VectorEq[A] extends Eq[Vector[A]]

    Permalink
  130. class VectorHash[A] extends VectorEq[A] with Hash[Vector[A]]

    Permalink
  131. trait VectorInstances extends VectorInstances1

    Permalink
    Annotations
    @suppressUnusedImportWarningForScalaVersionSpecific()
  132. trait VectorInstances1 extends VectorInstances2

    Permalink
  133. trait VectorInstances2 extends AnyRef

    Permalink
  134. class VectorMonoid[A] extends Monoid[Vector[A]]

    Permalink
  135. class VectorOrder[A] extends Order[Vector[A]]

    Permalink
  136. class VectorPartialOrder[A] extends PartialOrder[Vector[A]]

    Permalink

Value Members

  1. object StaticMethods extends HashCompat

    Permalink
    Annotations
    @suppressUnusedImportWarningForScalaVersionSpecific()
  2. object eq extends EqInstances

    Permalink
  3. object hash extends HashInstances

    Permalink
  4. object order extends OrderInstances

    Permalink
  5. object partialOrder extends PartialOrderInstances

    Permalink

Ungrouped