GithubHelp home page GithubHelp logo

isabella232 / scala-library-next Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scala/scala-library-next

0.0 0.0 0.0 122 KB

backwards-binary-compatible Scala standard library additions

License: Apache License 2.0

Scala 100.00%

scala-library-next's Introduction

scala-library-next

This repo holds code that will be added to a future version of the Scala standard library.

We will publish this as a library, to make the additions usable immediately. But publishing hasn't happened yet. (The repo only just started, in October 2020.)

Why?

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.x series, because of our binary compatibility constraints.
  • To help users transition from Scala 2 to 3, Scala 2.13 and 3.0 will share 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 out problems early.
  • Contributors will be more motivated to work on improvements if users can use them now.

What can be added?

Anything merged here will become part of the next Scala standard library.

Therefore, we will not merge anything here unless the Scala 2 and 3 teams agree on the addition. The bar for accepting additions remains very 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 is high and contributions may be rejected unless there is a high degree of consensus and confidence that it really belongs in the standard library.

It's not required, but you may wish to bring your idea up on contributors.scala-lang.org first to gauge reaction.

There are may be technical constraints on what can be added, since this a separate codebase from the actual standard library. So for example if you want to add a new method to an existing class, it must be added as an extension method. We are still discussing details on issue #4.

What if my contribution is rejected?

If your contribution is collections-themed, it could find a home at scala-collection-contrib, which has a much more liberal merge policy.

You might also consider publishing your code yourself in a separate library, of course.

History

The discussions that led to this repo being created are here:

The name was discussed here:

scala-library-next's People

Contributors

balmungsan avatar gdiet avatar julienrf avatar nthportal avatar philippus avatar scala-steward avatar sethtisue avatar sjrd avatar xuwei-k avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.