maintaining pre-AMP+FTP-Prelude in external package

Joachim Breitner mail at
Wed May 13 13:50:45 UTC 2015


Am Mittwoch, den 13.05.2015, 13:50 +0200 schrieb Henning Thielemann:
> What about maintaining the pre-AMP+FTP-Prelude in a package on Hackage? 
> Then we could maintain compatibility with a range of GHC versions by 
> disabling import of Prelude and importing preamplified (so to speak) 
> Prelude. The base-compat package seems to support the other way round, 
> that is, providing new 'base' functions to old compilers.

if you make that package reexport all modules from base, you would not
even have to change your old code, but only change the dependency from
"base" to your "base-preAMPlified". With module-rexports¹ this is even
possible by simply listing all modules in the cabal file.

It also seems to be similar to the idea of frozen-base packages, as in


¹ see

Joachim “nomeata” Breitner
  mail at joachim-breitner.de
  Jabber: nomeata at  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Libraries mailing list