prelude2010

Provide Prelude with fixed content across GHC versions

Latest on Hackage:0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Henning Thielemann
Maintained by [email protected]

This package helps you to write code that works with GHC before 7.10 and starting with 7.10. It provides the content of the Prelude2010 module as Prelude. This way you can replace a dependency on base by

Build-Depends: base-noprelude ==4.*, prelude2010 ==0.*

in your Cabal file and you do not have to alter modules.

Attention: While this works for package builds, GHCi will complain about conflicting Prelude modules. After installation of this package, you should run

$ ghc-pkg hide prelude2010