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 0.0
Dependencies prelude-compat (==0.*) [details]
License BSD-3-Clause
Author Henning Thielemann
Maintainer haskell@henning-thielemann.de
Category Prelude, Haskell2010
Source repo this: darcs get http://hub.darcs.net/thielema/prelude2010 --tag 0.0
head: darcs get http://hub.darcs.net/thielema/prelude2010
Uploaded by HenningThielemann at Sat Apr 16 17:56:03 UTC 2016
Distributions NixOS:0.0
Downloads 328 total (10 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-26 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees