Core Library policies
This page describes a proposed process for maintaining the Core libraries.
Core libraries are particularly important, and as such we apply some (lightweight) policies to their development. In the past we used the Library_submissions process, but that was deemed to hamper productivity too much. The new policy puts more emphasis on leadership and empowers individual maintainers to make changes, while still allowing the community to make feedback, contributions, and proposals.
What are the Core Libraries?
The following packages form the core libraries. They are a subset of the packages in the Haskell Platform, and define basic APIs that are expected to be available in any Haskell implementation:
Policies for development, and community involvement
- Each core package has a named maintainer, or small group of maintainers, who have commit access to the package.
- The maintainers are trusted to decide what changes to make to the package, and when. They are strongly encouraged to follow the guidance below, but the general principle is: the community offers opinions, but the maintainers decide.
- Guidance for maintainers:
- Every API change should be described precisely in the commit log
- Non-trivial API changes should be discussed on the libraries mailing list prior to making the change. The maintainer still has ultimate say in what changes are made, but the community should have the opportunity to comment on major and breaking changes.
- Backwards compatibility is important to many users. API changes are expected to retain backwards compatibility wherever possible. However, from time to time we may decide to have major revisions which are explicitly not backwards compatible; in these cases we may try to make the previous version of the package available concurrently, as in the base-3/base-4 switchover.
- Third parties are encouraged to make proposals for API changes by sending them to the libraries mailing list (CC'ing the maintainer). Proposals that are accompanied by patches (preferably with tests and documentation), and have widespread support, should normally be accepted by the maintainer. It is the responsibility of the proposer to prod the maintainer to commit the patch after the discussion.
- Third parties can submit non-API changes as patches either directly to the maintainer(s), or to the libraries mailing list.
- Commit logs will be sent to the libraries list, so that the community can keep an eye on changes and comment.
Libraries maintained by the GHC team are subject to the GHC validation policy - patches will be tested for validation before committing. Those packages not maintained by the GHC team will probably have a GHC lagging mirror repository that is subject to validation.
The following packages are also listed as maintained by
firstname.lastname@example.org, but are not in fact maintained by the community as a whole. We plan to clarify the maintainership of these packages shortly.
These packages are not expected to undergo API changes in the future. The code will be maintained by the GHC team.
These packages match the appropriate language standard, and as such cannot change independently. The code is maintained by the GHC team.
These packages in fact have maintainers, in most cases the GHC team:
These packages are orphaned, and are looking for a maintainer: