- Notifications
You must be signed in to change notification settings - Fork18
backwards-binary-compatible Scala standard library additions
License
scala/scala-library-next
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repo holds code that will be added to a future version ofthe Scala standard library.
We will publish this as a library, to make the additions usableimmediately. But publishing hasn't happened yet. (The repo only juststarted, in October 2020.)
Why make a library for this? Because:
- Scala 2.13 is expected to be final major release of Scala 2.
- We cannot make additions to the standard library in the Scala 2.13.xseries, because of ourbinary compatibilityconstraints.
- To help users transition from Scala 2 to 3, Scala 2.13 and 3.0 willshare the same standard library.
Therefore, additions to the library cannot happen until Scala 3.1 at the earliest.
But why publish the additions separately in the meantime? Because:
- Users may find the additions useful now.
- Having users start using the additions now will help shake outproblems early.
- Contributors will be more motivated to work on improvements if userscan use them now.
Anything merged herewill become part of the next Scala standard library.
Therefore, we will not merge anything here unless the Scala 2 and 3teams agree on the addition. The bar for accepting additions remainsvery high.
Is it okay to open an issue and/or pull request regardless? Yes,definitely. Let's discuss your idea. Just be aware that the bar ishigh and contributions may be rejected unless there is a high degreeof consensus and confidence that it really belongs in the standardlibrary.
It's not required, but you may wish to bring your idea up oncontributors.scala-lang.orgfirst to gauge reaction.
There are may be technical constraints on what can be added, sincethis a separate codebase from the actual standard library. So forexample if you want to add a new method to an existing class, it mustbe added as an extension method. We are still discussing details onissue #4.
If your contribution is collections-themed, it could find a home atscala-collection-contrib, which has a much more liberal merge policy.
You might also consider publishing your code yourself in a separate library, of course.
The discussions that led to this repo being created are here:
The name was discussed here:
About
backwards-binary-compatible Scala standard library additions
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors11
Uh oh!
There was an error while loading.Please reload this page.