Skip to content

Commit

Permalink
Zero[SeqMap[A, B]]
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Aug 19, 2024
1 parent 5033337 commit 2586a55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/scala/zeros.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package scalalib

import alleycats.Zero
import scala.collection.immutable.SeqMap

object zeros:

Expand Down Expand Up @@ -42,3 +43,6 @@ object zeros:

given [A]: Zero[Vector[A]] with
def zero = Vector.empty

given [A, B]: Zero[SeqMap[A, B]] with
def zero = SeqMap.empty

0 comments on commit 2586a55

Please sign in to comment.