- Companion:
- class
- Source:
- Equiv.scala
Type members
Classlikes
@migration(" The default implicit equivalence for doubles no longer conforms to\n".+(" to IEEE 754\'s behavior for -0.0D and NaN.\n").+(" Import `Equiv.Double.IeeeEquiv` to recover the previous behavior.\n").+(" See also https://www.scala-lang.org/api/current/scala/math/Equiv$$Double$.html."), "2.13.2")
- Source:
- Equiv.scala
@migration(" The default implicit equivalence for floats no longer conforms to\n".+(" to IEEE 754\'s behavior for -0.0F and NaN.\n").+(" Import `Equiv.Float.IeeeEquiv` to recover the previous behavior.\n").+(" See also https://www.scala-lang.org/api/current/scala/math/Equiv$$Float$.html."), "2.13.2")
- Source:
- Equiv.scala
An object containing implicits which are not in the default scope.
An object containing implicits which are not in the default scope.
- Source:
- Equiv.scala
Value members
Concrete methods
Implicits
Implicits
Deprecated and Inherited implicits
@deprecated("Use explicit Equiv.universal instead. See Scaladoc entry for more information: ".+("https://www.scala-lang.org/api/current/scala/math/Equiv$.html#universalEquiv[T]:scala.math.Equiv[T]"), since = "2.13.0")
- Deprecated
[Since version 2.13.0]
This implicit universal
Equiv
instance allows accidentally comparing instances of types for which equality isn't well-defined or implemented. (For example, it does not make sense to compare twoFunction1
instances.) UseEquiv.universal
explicitly instead. If you really want an implicit universalEquiv
instance despite the potential problems, considerimplicit def universalEquiv[T]: Equiv[T] = universal[T]
.- Inherited from:
- LowPriorityEquiv
- Source:
- Equiv.scala