[Make BUtil work with new-style exceptions Joachim Breitner **20100904102419 Ignore-this: 941ff8240fc39f0c3b40cce59040b4a2 Otherwise ghc will emit warnings, which break hint (the interpreter library used) ] hunk ./BUtil.hs 1 -{-# OPTIONS -XRank2Types -XCPP #-} +{-# OPTIONS -XRank2Types -XCPP -XScopedTypeVariables #-} hunk ./BUtil.hs 9 -#if __GLASGOW_HASKELL__ >= 610 -import Control.OldException -#else hunk ./BUtil.hs 10 -#endif hunk ./BUtil.hs 58 +#if __GLASGOW_HASKELL__ >= 610 + Left (e::SomeException) -> return $ Nothing +#else hunk ./BUtil.hs 62 +#endif