rebase

A more progressive alternative to the "base" package

https://github.com/nikita-volkov/rebase

Version on this page:1.19
LTS Haskell 22.36:1.20.2
Stackage Nightly 2024-10-03:1.21.1
Latest on Hackage:1.21.1

See all snapshots rebase appears in

MIT licensed and maintained by Nikita Volkov
This version can be pinned in stack with:rebase-1.19@sha256:94c07b583d8b45c43ef183b6f520d0b07342ec7a980377b9e4f96be2a9e422d6,14321

Module documentation for 1.19

This package is intended for those who are tired of keeping long lists of dependencies to the same essential libraries in each package as well as the endless imports of the same APIs all over again. It also supports the modern tendencies in the language.

To solve those problems this package does the following:

  • Reexport the original APIs under the "Rebase" namespace.

  • Export all the possible non-conflicting symbols from the "Rebase.Prelude" module.

  • Give priority to the modern practices in the conflicting cases.

The policy behind the package is only to reexport the non-ambiguous and non-controversial APIs, which the community has obviously settled on. The package is intended to rapidly evolve with the contribution from the community, with the missing features being added with pull-requests.

If you don't need the "Rebase" namespace and want to import modules from the reexported packages as they are check out the "rerebase" package which simply reexports the original symbols in the original namespace. Thus it simply lets you depend on all the de-facto default packages, by yourself having to maintain only the dependency on "rerebase". Also it comes packed with a prelude as rich as here.