Personal tools

Upgrading packages

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Stub for upgrading packages to GHC-7.0.)
(request for information)
Line 12: Line 12:
 
When upgrading to GHC 7.0, any of your packages that worked against
 
When upgrading to GHC 7.0, any of your packages that worked against
 
the base-3 library will need to be updated to the base-4.
 
the base-3 library will need to be updated to the base-4.
  +
  +
'''Wanted - catering to GHC versions'''
  +
  +
How do I configure Cabal to use different GHC options depending on GHC version?
  +
E.g. using -fno-warn-unused-bind is convenient for certain GHC versions, but breaks compatibility with older ones.
   
 
(This is a stub, since the previous version was so out-of-date. Please help by adding useful content.)
 
(This is a stub, since the previous version was so out-of-date. Please help by adding useful content.)

Revision as of 11:26, 15 December 2011

A list of things that need updating when porting packages to newer library/cabal versions.

If you maintain a Haskell package this is for you. For older versions of this document:


Updating to GHC 7.0

When upgrading to GHC 7.0, any of your packages that worked against the base-3 library will need to be updated to the base-4.

Wanted - catering to GHC versions

How do I configure Cabal to use different GHC options depending on GHC version? E.g. using -fno-warn-unused-bind is convenient for certain GHC versions, but breaks compatibility with older ones.

(This is a stub, since the previous version was so out-of-date. Please help by adding useful content.)