pugs-compat 0.0.6.1 → 0.0.6.2
raw patch · 3 files changed
+5/−5 lines, 3 filesdep +sybdep ~basedep ~mtlPVP ok
version bump matches the API change (PVP)
Dependencies added: syb
Dependency ranges changed: base, mtl
API changes (from Hackage documentation)
Files
- pugs-compat.cabal +3/−3
- src/Pugs/Compat.hs +1/−1
- src/Pugs/Compat/Monads.hs +1/−1
pugs-compat.cabal view
@@ -1,5 +1,5 @@ Name : pugs-compat-Version : 0.0.6.1+Version : 0.0.6.2 Build-type : Simple Category : Pugs License : BSD3@@ -16,8 +16,8 @@ TypeSynonymInstances, FlexibleInstances, PatternGuards, UndecidableInstances, FlexibleContexts, OverlappingInstances, TypeOperators - Build-depends : base >=3 && < 4, haskell98, time, directory, process, regex-pcre-builtin, regex-base,- random, network, containers, bytestring, array, mtl, stm, utf8-string,+ Build-depends : base >=4 && < 5, haskell98, time, directory, process, regex-pcre-builtin, regex-base,+ random, network, containers, bytestring, array, mtl < 2.0.0.0, stm, utf8-string, syb, stringtable-atom >= 0.0.6.1 Exposed-modules : Pugs.Compat Other-modules : Pugs.Compat.Cast Pugs.Compat.Global Pugs.Compat.ID
src/Pugs/Compat.hs view
@@ -25,7 +25,7 @@ import Control.Concurrent as X import Control.Concurrent.STM as X -import Control.Exception as X (catchJust, errorCalls, Exception(..))+import Control.Exception as X (catchJust, Exception(..)) import Control.Monad as X (replicateM, forM, forM_, MonadPlus(..), msum, liftM2, liftM3, guard, foldM, unless, liftM, filterM, join, when) import Control.Monad.Error as X (MonadError(..), ErrorT(..), Error(..)) import Control.Monad.Fix as X (fix)
src/Pugs/Compat/Monads.hs view
@@ -87,7 +87,7 @@ -> m (f b) -- ^ Monad containing (@Just@ /result/) or @Nothing@ maybeM f m = mapM m =<< f -catchIO :: IO a -> (Control.Exception.Exception -> IO a) -> IO a+catchIO :: Exception e => forall a. IO a -> (e -> IO a) -> IO a catchIO = Control.Exception.catch evaluateIO :: a -> IO a