scala-collection-contrib icon indicating copy to clipboard operation
scala-collection-contrib copied to clipboard

community-contributed additions to the Scala 2.13 collections

Results 20 scala-collection-contrib issues
Sort by recently updated
recently updated
newest added

## About this PR 📦 Updates [org.scala-lang:scala-library](https://github.com/scala/scala) from `2.13.13` to `2.13.14` 📜 [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.13.14) - [Version Diff](https://github.com/scala/scala/compare/v2.13.13...v2.13.14) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

Addresses this issue: [Possible bug in implementation of MapDecorator.mergeByKeyWith](https://github.com/scala/scala-collection-contrib/issues/239). Test added to reproduce the bug in: ~~bcc2b6efedcb97ae329b792940b52e44ef1db06e~~4fe84ca7370f05059817fd333f72719d33fb4652. Fix to make test pass in: ~~5088ed6ac8a23e3a9987491bf05f334d05cdfc74~~8c8d67bd323f7a9bf2b786b5b55c3349fa52f7f8.

## About this PR 📦 Updates * [org.scala-native:junit-plugin](https://github.com/scala-native/scala-native) * [org.scala-native:nscplugin](https://github.com/scala-native/scala-native) * [org.scala-native:sbt-scala-native](https://github.com/scala-native/scala-native) from `0.4.17` to `0.5.1` 📜 [GitHub Release Notes](https://github.com/scala-native/scala-native/releases/tag/v0.5.1) - [Version Diff](https://github.com/scala-native/scala-native/compare/v0.4.17...v0.5.1) ## Usage ✅ **Please merge!** I'll automatically...

Exercise in `-Xsource:3-cross`. ~Not sure if~ it needs to stay on 3.3.3 LTS. Scala 2 needs `uninitialized`. Scala 3 needs `inline` `tap`. Scala 2 could support `import chaining.given` directly, though...

### Seen in 0.3.0 ### Reproduction Scala worksheet, so assertions are verified by eye. Using `mergeByKey` for convenience, knowing it delegates to `mergeByKeyWith`. ```scala import scala.collection.decorators.mapDecorator val arthur = "arthur.txt"...

## About this PR 📦 Updates * [org.scala-lang:scala3-library](https://github.com/scala/scala3) * [org.scala-lang:scala3-library_sjs1](https://github.com/scala/scala3) from `3.3.3` to `3.4.1` 📜 [GitHub Release Notes](https://github.com/scala/scala3/releases/tag/3.4.1) - [Version Diff](https://github.com/scala/scala3/compare/3.3.3...3.4.1) - [Version Diff](https://github.com/scala/scala3/compare/release-3.3.3...release-3.4.1) ## Usage ✅ **Please merge!** I'll...

The iteration order when iterating over a `MultiDict` (e.g., with `map` or `values` is not specified anywhere in the documentation that I can find. I suspect that the order is...

help wanted

The add method is defined as follows ```scala def add(key: K, value: V): MultiDict[K, V] = new MultiDict(elems.updatedWith(key) { case None => Some(Set(value)) case Some(vs) => Some(vs + value) })...

Sometimes I work with homogenous tuples, which I use more like a collection with a fixed size. When working in this style, I often define a `map` extension for tuples....

I would like to add to `Seq` several operations, all related to considering a `Seq` (or a subtype) a circular sequence. If you take a look at my library repo...