scala.math.Equiv
See theEquiv companion trait
object Equiv extends LowPriorityEquiv
Attributes
Members list
Type members
Classlikes
object BigDecimal extends Equiv[BigDecimal]
Attributes
- Supertypes
- Self type
-
BigDecimal.type
Attributes
- Supertypes
- Self type
-
BigInt.type
Attributes
- Supertypes
- Self type
-
Boolean.type
Attributes
- Supertypes
- Self type
-
Byte.type
Attributes
- Supertypes
- Self type
-
Char.type
object DeprecatedDoubleEquiv extends StrictEquiv
Attributes
- Supertypes
- Self type
object DeprecatedFloatEquiv extends StrictEquiv
Attributes
- Supertypes
- Self type
-
DeprecatedFloatEquiv.type
object Double
trait ExtraImplicits
object Float
object Implicits extends ExtraImplicits
An object containing implicits which are not in the default scope.
An object containing implicits which are not in the default scope.
Attributes
- Supertypes
- Self type
-
Implicits.type
Attributes
- Supertypes
- Self type
-
Int.type
Attributes
- Supertypes
- Self type
-
Long.type
Attributes
- Supertypes
- Self type
-
Short.type
Attributes
- Supertypes
- Self type
-
String.type
Attributes
- Supertypes
- Self type
-
Symbol.type
Implicits
Implicits
Deprecated and Inherited implicits
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
Equivinstance allows accidentally comparing instances of types for which equality isn't well-defined or implemented. (For example, it does not make sense to compare twoFunction1instances.) UseEquiv.universalexplicitly instead. If you really want an implicit universalEquivinstance despite the potential problems, considerimplicit def universalEquiv[T]: Equiv[T] = universal[T]. - Inherited from:
- LowPriorityEquiv
In this article