Skip to content

Commit

Permalink
in kernelJVM
Browse files Browse the repository at this point in the history
  • Loading branch information
satorg committed Jul 14, 2022
1 parent 3f58793 commit d2d6a03
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@
package cats.kernel
package instances

import cats.kernel.compat.scalaVersionSpecific._
import cats.kernel.compat.unused

import scala.collection.mutable
import compat.scalaVersionSpecific._

@suppressUnusedImportWarningForScalaVersionSpecific
trait MapInstances extends MapInstances1 {
implicit def catsKernelStdHashForMap[K: Hash, V: Hash]: Hash[Map[K, V]] =
implicit def catsKernelStdHashForMap[K, V](implicit @unused K: Hash[K], V: Hash[V]): Hash[Map[K, V]] =
new MapHash[K, V]

implicit def catsKernelStdCommutativeMonoidForMap[K, V: CommutativeSemigroup]: CommutativeMonoid[Map[K, V]] =
Expand Down

0 comments on commit d2d6a03

Please sign in to comment.