uni-reactor 2.2.0.0 → 2.2.1.0
raw patch · 2 files changed
+7/−7 lines, 2 filesdep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base
API changes (from Hackage documentation)
- Reactor.InfoBus: deregisterTool :: (Object t) => t -> IO ()
+ Reactor.InfoBus: deregisterTool :: Object t => t -> IO ()
- Reactor.Lock: acquire :: (Lock l) => l -> IO ()
+ Reactor.Lock: acquire :: Lock l => l -> IO ()
- Reactor.Lock: release :: (Lock l) => l -> IO ()
+ Reactor.Lock: release :: Lock l => l -> IO ()
- Reactor.Lock: tryAcquire :: (Lock l) => l -> IO Bool
+ Reactor.Lock: tryAcquire :: Lock l => l -> IO Bool
Files
- Reactor/InfoBus.hs +3/−2
- uni-reactor.cabal +4/−5
Reactor/InfoBus.hs view
@@ -12,6 +12,7 @@ ) where +import Control.Exception import Control.Concurrent.MVar import qualified Data.Map as Map import System.IO.Unsafe@@ -70,7 +71,7 @@ do map <- takeMVar toolmanager putMVar toolmanager (Map.delete oid map)- )+ ) :: IO (Either SomeException ()) debug ("deregisterTool ",oid) done @@ -84,7 +85,7 @@ (\ (oid,cmd) -> do debug ("Shutting down ",oid)- try cmd+ try cmd :: IO (Either SomeException ()) ) performGC
uni-reactor.cabal view
@@ -1,5 +1,5 @@ name: uni-reactor-version: 2.2.0.0+version: 2.2.1.0 build-type: Simple license: LGPL license-file: LICENSE@@ -10,7 +10,7 @@ synopsis: Reactors for the uniform workbench description: uni reactor cabal-version: >= 1.4-Tested-With: GHC==6.8.3, GHC==6.10.4, GHC==6.12.3+Tested-With: GHC==6.10.4, GHC==6.12.3 library exposed-modules:@@ -21,7 +21,6 @@ Reactor.InfoBus, Reactor.WithDir - build-depends: base >=3 && < 5, containers, directory, uni-util, uni-events+ build-depends: base >=4 && < 5, containers, directory, uni-util, uni-events - if impl(ghc > 6.10)- ghc-options: -fwarn-unused-imports -fno-warn-warnings-deprecations+ ghc-options: -fwarn-unused-imports -fno-warn-warnings-deprecations