base-3 -> base-4

Is there a "conversion guide" for switching from base-3 to base-4? I noticed that ghc-HEAD (6.13) comes with base-4.3 (and no base-3). This will break an awful lot of packages (?), in fact the breakage starts with cabal-install (since it depends on HTTP which depends on base-3). PS: I use gmane.org for posting, and they have these seemingly random "text captchas", and for this post, it reads "continuity"...

Johannes Waldmann wrote:
Is there a "conversion guide" for switching from base-3 to base-4?
I noticed that ghc-HEAD (6.13) comes with base-4.3 (and no base-3). This will break an awful lot of packages (?), in fact the breakage starts with cabal-install (since it depends on HTTP which depends on base-3).
HTTP can build and seems to work with base 4 if you bump the dependency. I contacted Sigbjorn about making a new release a while ago, but nothing has happened yet. Ganesh =============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ===============================================================================

ganesh.sittampalam:
Johannes Waldmann wrote:
Is there a "conversion guide" for switching from base-3 to base-4?
I noticed that ghc-HEAD (6.13) comes with base-4.3 (and no base-3). This will break an awful lot of packages (?), in fact the breakage starts with cabal-install (since it depends on HTTP which depends on base-3).
HTTP can build and seems to work with base 4 if you bump the dependency. I contacted Sigbjorn about making a new release a while ago, but nothing has happened yet.
I don't know if Sigbjorn is still the maintainer. We need to set maintainer timeouts somewhere.

On 3 September 2010 23:07, Johannes Waldmann
Is there a "conversion guide" for switching from base-3 to base-4?
I noticed that ghc-HEAD (6.13) comes with base-4.3 (and no base-3). This will break an awful lot of packages (?), in fact the breakage starts with cabal-install (since it depends on HTTP which depends on base-3).
From memory, the only thing that changed of significance was the exception handling: Control.Exception now uses extensible exceptions (also available for base-3 in the extensible-exceptions package). For the very lazy Control.OldException may still be available with 6.14 to keep using the old-style exceptions.
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

Ivan Lazar Miljenovic
... the only thing that changed of significance was the exception handling: Control.Exception now uses extensible exceptions
I'm pretty sure ghc-6.12.3 gives warnings "this will not work with base-4" in some more places. I was hoping there is a comprehensive list somewhere. J.W.

Johannes Waldmann wrote:
Ivan Lazar Miljenovic
writes: ... the only thing that changed of significance was the exception handling: Control.Exception now uses extensible exceptions
base-4 also introduced the Control.Category.Category class and restructured Control.Arrow to use that.
I'm pretty sure ghc-6.12.3 gives warnings "this will not work with base-4" in some more places. I was hoping there is a comprehensive list somewhere.
There's http://www.haskell.org/haskellwiki/Upgrading_packages but it's not up-to-date, probably because updating to ghc-6.12 was comparatively painless. And of course there are the ghc-6.10.1 release notes which also cover the changes in base-4: http://www.haskell.org/ghc/docs/6.10.1/html/users_guide/release-6-10-1.html Bertram
participants (5)
-
Bertram Felgenhauer
-
Don Stewart
-
Ivan Lazar Miljenovic
-
Johannes Waldmann
-
Sittampalam, Ganesh