Skip to content

Commit

Permalink
Merge pull request #1169 from joroKr21/additive-sew
Browse files Browse the repository at this point in the history
add AdditiveCollection of Seq
  • Loading branch information
joroKr21 authored May 16, 2021
2 parents 5c59097 + caaa7fa commit 26524dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/scala/shapeless/sized.scala
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ object AdditiveCollection extends AdditiveCollectionVersionSpecific {

implicit def defaultAdditiveCollection[T]: AdditiveCollection[collection.immutable.IndexedSeq[T]] =
instance.asInstanceOf[AdditiveCollection[collection.immutable.IndexedSeq[T]]]

implicit def seqAdditiveCollection[T]: AdditiveCollection[Seq[T]] =
instance.asInstanceOf[AdditiveCollection[Seq[T]]]
}

class DefaultToIndexedSeq[CC[_]]
Expand Down

0 comments on commit 26524dd

Please sign in to comment.