split most of Control.Exception into new Control.Exception.Base
authorRoss Paterson <ross@soi.city.ac.uk>
Tue, 12 Aug 2008 12:49:12 +0000 (12:49 +0000)
committerRoss Paterson <ross@soi.city.ac.uk>
Tue, 12 Aug 2008 12:49:12 +0000 (12:49 +0000)
commit31a5a33a246738fbaaef90e7c6f2b42ce3cfe135
tree5976b77bd9b0648d84e37e4c0285645b7a1c66e9
parent6f51b721abf0d355a8cd5a58b518ea9f81118d33
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.
Control/Exception.hs
Control/Exception/Base.hs [new file with mode: 0644]
Control/OldException.hs
Foreign/Marshal/Alloc.hs
Foreign/Marshal/Pool.hs
System/Environment.hs
System/IO.hs
System/IO/Error.hs
System/Timeout.hs
base.cabal