This error is due to usage of old base package in version 3.
In .cabal file add dependency on base-4, in form "base >= 4".

All best

Christopher Skrzętnicki

2009/2/1 Ezekiel Smithburg <tehgeekmeister@gmail.com>
this is the error message i get:

ezekiel-smithburgs-macbook-pro-15% runhaskell Setup.* build      
Preprocessing library testpack-1.0.0...
Building testpack-1.0.0...
[1 of 3] Compiling Test.QuickCheck.Instances ( src/Test/QuickCheck/Instances.hs, dist/build/Test/QuickCheck/Instances.o )
[2 of 3] Compiling Test.QuickCheck.Tools ( src/Test/QuickCheck/Tools.hs, dist/build/Test/QuickCheck/Tools.o )
[3 of 3] Compiling Test.HUnit.Tools ( src/Test/HUnit/Tools.hs, dist/build/Test/HUnit/Tools.o )

src/Test/HUnit/Tools.hs:28:36:
    Class `Control.Exception.Exception' used as a type
    In the type `Control.Exception.Exception'
    In the type `Control.Exception.Exception -> IO a -> IO ()'
    In the type `String
                 -> Control.Exception.Exception -> IO a -> IO ()'

what should i do?  need this in order to build hdbc 2.0, which i'm hoping solves a problem i was having earlier (memory leak).

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe