patch applied (packages/base): split most of Control.Exception into new Control.Exception.Base

Ross Paterson ross at soi.city.ac.uk
Tue Aug 12 09:56:02 EDT 2008


Tue Aug 12 05:49:12 PDT 2008  Ross Paterson <ross at soi.city.ac.uk>
  * split most of Control.Exception into new Control.Exception.Base
  
  Move everything but catches/Handler into a new internal module.
  This was needed to get the new exceptions working with Hugs, because Hugs
  has the constraint that all Haskell 98 library modules, and everything
  they include, must be Haskell 98.  This also involves a different
  representation of SomeException for Hugs, so that type is exported
  opaquely for Hugs.  Then Control.Exception.Base is Haskell 98 as far as
  Hugs is concerned, but Control.Exception needs the extensions turned on.
  
  Control.Exception re-exports everything from Control.Exception.Base
  except the functions used by the GHC runtime.

    A ./Control/Exception/
    M ./Control/Exception.hs -436 +13
    A ./Control/Exception/Base.hs
    M ./Control/OldException.hs -4 +5
    M ./Foreign/Marshal/Alloc.hs -1 +1
    M ./Foreign/Marshal/Pool.hs -1 +1
    M ./System/Environment.hs -1 +1
    M ./System/IO.hs -1 +1
    M ./System/IO/Error.hs -4 +5
    M ./System/Timeout.hs -1 +1
    M ./base.cabal +2

View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20080812124912-b47d3-996bb9c28a6d7869442d58b6c5a4573df8e61a1e.gz


More information about the Cvs-libraries mailing list