packages feed

modulespection 0.1.2.0 → 0.1.2.1

raw patch · 2 files changed

+5/−3 lines, 2 filesdep ~exceptions

Dependency ranges changed: exceptions

Files

modulespection.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                modulespection-version:             0.1.2.0+version:             0.1.2.1 synopsis:            Template Haskell for introspecting a module's declarations description:   Collect all of the declarations in a module using Template Haskell (via the GHC API). @@ -76,7 +76,7 @@                , ghc                , temporary == 1.2.*                , transformers == 0.3.*-               , exceptions >= 0.3 && < 0.6+               , exceptions >= 0.5 && < 0.6                , filepath == 1.3.*   hs-source-dirs:      src   default-language:    Haskell2010
src/Language/Haskell/TH/Module/Magic.hs view
@@ -87,9 +87,11 @@     liftIO = MonadUtils.liftIO #endif +instance MonadThrow Ghc where+    throwM  = liftIO . throwIO+ instance MonadCatch Ghc where     catch   = gcatch-    throwM  = liftIO . throwIO     mask f =        Ghc $ \s -> mask $ \io_restore ->                               let