prelude2010: Provide Prelude with fixed content across GHC versions

[ bsd3, haskell2010, library, prelude ] [ Propose Tags ]

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
Versions [RSS] [faq] 0.0
Dependencies prelude-compat (==0.*) [details]
License BSD-3-Clause
Author Henning Thielemann
Category Prelude, Haskell2010
Source repo this: darcs get --tag 0.0
head: darcs get
Uploaded by HenningThielemann at 2016-04-16T17:56:03Z
Distributions NixOS:0.0
Downloads 868 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2016-11-26 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees