MapEqualityConstraints

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

Companion:
class
Source:
MapEqualityConstraints.scala
class Object
trait Matchable
class Any

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