TraversableEqualityConstraints

Companion object that facilitates the importing of TraversableEqualityConstraints members as an alternative to mixing it in. One use case is to import TraversableEqualityConstraints members so you can use them in the Scala interpreter.

Companion:
class
Source:
TraversableEqualityConstraints.scala

Implicits

Inherited implicits

implicit def mapEqualityConstraint[KA, VA, CA <: (Map), KB, VB, CB <: (Map)](implicit equalityOfA: Equality[CA[KA, VA]], evKey: CanEqual[KA, KB], evValue: CanEqual[VA, VB]): CanEqual[CA[KA, VA], CB[KB, VB]]

Provides an equality constraint that allows two subtypes of scala.collection.GenMaps to be compared for equality with === so long as an EqualityConstraint is available for both key types and both value types.

Provides an equality constraint that allows two subtypes of scala.collection.GenMaps to be compared for equality with === so long as an EqualityConstraint is available for both key types and both value types.

Inherited from:
MapEqualityConstraints
Source:
MapEqualityConstraints.scala
implicit def seqEqualityConstraint[EA, CA <: (Seq), EB, CB <: (Seq)](implicit equalityOfA: Equality[CA[EA]], ev: CanEqual[EA, EB]): CanEqual[CA[EA], CB[EB]]

Provides an equality constraint that allows two subtypes of scala.collection.GenSeqs to be compared for equality with === so long as an EqualityConstraint is available for the element types.

Provides an equality constraint that allows two subtypes of scala.collection.GenSeqs to be compared for equality with === so long as an EqualityConstraint is available for the element types.

Inherited from:
SeqEqualityConstraints
Source:
SeqEqualityConstraints.scala
implicit def setEqualityConstraint[EA, CA <: (Set), EB, CB <: (Set)](implicit equalityOfA: Equality[CA[EA]], ev: CanEqual[EA, EB]): CanEqual[CA[EA], CB[EB]]

Provides an equality constraint that allows two subtypes of scala.collection.GenSets to be compared for equality with === so long as an EqualityConstraint is available for the element types.

Provides an equality constraint that allows two subtypes of scala.collection.GenSets to be compared for equality with === so long as an EqualityConstraint is available for the element types.

Inherited from:
SetEqualityConstraints
Source:
SetEqualityConstraints.scala