LowPriorityEquiv

scala.math.LowPriorityEquiv

Attributes

Source:
Equiv.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Equiv.type
Self type
Equiv.type

Members list

Concise view

Implicits

Deprecated implicits

implicit def universalEquiv[T]: Equiv[T]

Attributes

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 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].

Source:
Equiv.scala