diff options
-rw-r--r-- | src/Haddock/Exception.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Haddock/Exception.hs b/src/Haddock/Exception.hs index a1886ba2..0ce002b0 100644 --- a/src/Haddock/Exception.hs +++ b/src/Haddock/Exception.hs @@ -15,7 +15,14 @@ module Haddock.Exception ( import Data.Typeable + + +-- TODO: change this to test for base version instead +#if __GLASGOW_HASKELL__ >= 609 +import Control.OldException +#else import Control.Exception +#endif data HaddockException = HaddockException String deriving Typeable |