Implicits

scala.math.Equiv.Implicits
object Implicits extends ExtraImplicits

An object containing implicits which are not in the default scope.

Attributes

Source
Equiv.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Implicits.type

Members list

Implicits

Inherited implicits

implicit def seqEquiv[CC <: (Seq), T](implicit eqv: Equiv[T]): Equiv[CC[T]]

Not in the standard scope due to the potential for divergence: For instance implicitly[Equiv[Any]] diverges in its presence.

Not in the standard scope due to the potential for divergence: For instance implicitly[Equiv[Any]] diverges in its presence.

Type parameters

CC

the collection type constructor, a subtype of Seq (e.g., List, Vector)

T

the element type of the collection

Value parameters

eqv

the Equiv instance used to compare individual elements of type T

Attributes

Returns

an Equiv for sequences of type CC[T] that compares them element-by-element using eqv

Inherited from:
ExtraImplicits
Source
Equiv.scala
implicit def sortedSetEquiv[CC <: (SortedSet), T](implicit eqv: Equiv[T]): Equiv[CC[T]]

Type parameters

CC

the collection type constructor, a subtype of SortedSet

T

the element type of the collection

Value parameters

eqv

the Equiv instance used to compare individual elements of type T

Attributes

Returns

an Equiv for sorted sets of type CC[T] that compares them element-by-element in iteration order using eqv

Inherited from:
ExtraImplicits
Source
Equiv.scala