Equiv (original) (raw)
scala.math.Equiv
See theEquiv companion trait
Members list
Equiv
s for Double
s.
Equiv
s for Double
s.
Attributes
Source
Supertypes
Self type
Attributes
Source
Supertypes
Known subtypes
Equiv
s for Float
s.
Equiv
s for Float
s.
Attributes
Source
Supertypes
Self type
An object containing implicits which are not in the default scope.
An object containing implicits which are not in the default scope.
Attributes
Source
Supertypes
Self type
Attributes
Deprecated
[Since version 2.13.0]
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\]")
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 two Function1
instances.) Use Equiv.universal
explicitly instead. If you really want an implicit universal Equiv
instance despite the potential problems, consider implicit def universalEquiv[T]: Equiv[T] = universal[T]
.
Inherited from:
Source
In this article