packages feed

monadIO 0.10.1.4 → 0.11.1.0

raw patch · 3 files changed

Files

monadIO.cabal view
@@ -1,5 +1,5 @@ name:               monadIO-version:            0.10.1.4+version:            0.11.1.0 synopsis:           Overloading of concurrency variables description:        MonadIO provides for many IO operations to be                     overloaded over other IO-like monads.@@ -7,15 +7,15 @@ license:            BSD3 license-file:       LICENSE author:             John Launchbury-maintainer:         John Launchbury-Copyright:          (c) 2008-2010, Galois, Inc.-cabal-version:      >= 1.2.0+maintainer:         Thomas M. DuBuisson+Copyright:          (c) 2008-2018, Galois, Inc.+cabal-version:      >= 1.6.0 build-type:         Simple   Library   Build-Depends:    base >= 4.2.0.0 && < 5.0,-                    stm  >= 2.2.0.0,+                    stm  >= 2.5.0.0,                     mtl  >= 2.0.1.0   Exposed-modules:  Control.Concurrent.MonadIO                     Control.Concurrent.STM.MonadIO@@ -23,3 +23,7 @@                     Data.IORef.MonadIO   Hs-Source-Dirs:   src   Ghc-Options:      -Wall++source-repository head+    type:       git+    location:   https://github.com/GaloisInc/monadIO
src/Control/Concurrent/MonadIO.hs view
@@ -88,7 +88,6 @@   , readChan   , dupChan   , unGetChan-  , isEmptyChan   , getChanContents   , writeList2Chan   @@ -155,9 +154,6 @@  unGetChan          :: MonadIO io => C.Chan a -> a -> io () unGetChan c x       = liftIO $ unGetChan c x--isEmptyChan        :: MonadIO io => C.Chan a -> io Bool-isEmptyChan c       = liftIO $ C.isEmptyChan c  getChanContents    :: MonadIO io => C.Chan a -> io [a] getChanContents c   = liftIO $ C.getChanContents c
src/Control/Concurrent/STM/MonadIO.hs view
@@ -44,12 +44,10 @@      STM   , atomically-  , always-  , alwaysSucceeds-  , retry -  , orElse -  , check -  , catchSTM +  , retry+  , orElse+  , check+  , catchSTM    , S.TVar   , newTVar@@ -74,8 +72,8 @@   , tryTakeTMVar   , tryPutTMVar   , isEmptyTMVar-  , modifyTMVar -  , modifyTMVar_ +  , modifyTMVar+  , modifyTMVar_    , newTMVarSTM   , newEmptyTMVarSTM