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

Reviving this old idea that we closed under [scala/scala-dev#661](https://github.com/scala/scala-dev/issues/661). **Motivation** 1) Currently `andThen` defined for Futures, doesn't preserve the error behavior. We could argue that if the side-effecting code throws...

enhancement
library:concurrent
status:pending

There have been several mentions of "we should have something like https://github.com/lihaoyi/sourcecode in the standard library" but apparently no ticket. It has come up again in the context of https://github.com/scala/scala-dev/issues/411....

enhancement
help wanted
status:pending

**Proposal** - add bitwise shift (``) operations to `BitSet` collection (both mutable and immutable) - add in place bitwise shift (`=`) operations to mutable `BitSet` **Motivation** - completeness of bitwise...

enhancement
library:collections
status:pending

In my use-cases I often found myself requiring a logarithmic `reduce` that applies LogN operations on a collection, instead of N-1 operations. What do you think? Is this a worthy...

enhancement
library:collections
status:pending

Addresses #44 As originally discussed in [scala/scala#8857 ](https://github.com/scala/scala/pull/8857): 1) Defines `tapEach` for `Try` 2) Defines `tapEach` for `Futures`, using transform, leveraging the existing implementation for `Try` Following the pattern that...

enhancement
library:concurrent
status:pending

Resolves #21 Resolves #22 TODO: - [ ] docs - [ ] tests - [ ] tidy up code and remove unnecessary blank lines

enhancement
library:collections
status:pending

now that https://github.com/scala/scala/pull/9270 has landed, and after 2.13.4 ships, we'll want to add `batchingGlobal` from https://github.com/scala/scala/pull/9132/commits/9e4f6b2173bc9a17cf79bb7a1439b8b62d316a8b here in the meantime, we'll recommend people just paste the code into their codebases...

bug
library:concurrent

See [this contributors discussion](https://contributors.scala-lang.org/t/concerns-about-deprecation-of-iterableonce-member-methods-in-2-13/3583) for the motivation. In summary, using `IterableOnceOps` would make it possible to write code polymorphic to `Iterable` or `Iterator`, but methods defined by `IterableOnce` (such as...

bug
library:collections

Scalaz’s `Foldable` has two variants of partitioning methods, named `splitWith` and `selectSplit`: https://github.com/scalaz/scalaz/blob/series/7.3.x/core/src/main/scala/scalaz/Foldable.scala#L303-L351

enhancement
library:collections

We should have this in place before publishing a first version.

help wanted