scala-library-next icon indicating copy to clipboard operation
scala-library-next copied to clipboard

backwards-binary-compatible Scala standard library additions

Results 69 scala-library-next issues
Sort by recently updated
recently updated
newest added

Fixes #51 I know there are a lot of things to discuss like the name of the methods, visibility constraints, where to place everything, etc. But for now, I want...

I found myself doing this a lot: ```scala someCollection.iterator.zipWithIndex.map { case (a, idx) => f(a, idx) }.to(SomeCollectionType) ``` Which is a little bit verbose just to avoid allocating the intermediate...

`.drop(...)` is equivalent to calling `.next()` (up to) a given number of times, which is very useful. unfortunately, `.drop(...)` is not required to return the same instance (though the default...

enhancement
library:collections
status:pending

Inputs are very often parsed in order to get a desired object A. I think it would be convenient to add the method `StdIn.readWith[A](f: String => Boolean): A` to Scala...

This proposal is based upon #24 for naming and package structure _(here we are assuming that both proposals were chosen, at least partially)_ and further specifies where should the extension...

meta

Proposals: 1. Only names that are planned to exist in a future Scala release can be outside of a `next` (sub-)package. Names that will not exist in a future Scala...

meta

This PR follows up two issues: - a [comment](https://github.com/scala/scala/pull/9100#issuecomment-703740710) that `Array.equals(xs, ys)` is not convenient to use, as documented in the linked PR. - an [issue](https://github.com/scala/bug/issues/10216) that `toHexString` sign-extends bytes...

On parallel processing, I think it is relatively common usecase to limit the number of concurrent tasks running simultaneously. For example, let's say we have 10,000 files and upload each...