rebase

A more progressive alternative to the "base" package

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

Version on this page:1.15.0.3
LTS Haskell 22.41:1.20.2
Stackage Nightly 2024-11-10: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.15.0.3@sha256:0ebb161f368939c2b01959086fbdbeb7d31d4716665e93b1f2468566bfaab555,14355

Module documentation for 1.15.0.3

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.