distributed-process 0.5.0 → 0.5.1
raw patch · 3 files changed
+12/−3 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Control.Distributed.Process.Internal.Types: instance Typeable Process
- Control.Distributed.Process.Internal.Types: instance Typeable ReceivePort
- Control.Distributed.Process.Internal.Types: instance Typeable SendPort
- Control.Distributed.Process.Internal.WeakTQueue: instance Typeable TQueue
- Control.Distributed.Process.Management.Internal.Types: instance Typeable MxAgent
- Control.Distributed.Process.Serializable: instance Typeable SerializableDict
+ Control.Distributed.Process: mask_ :: Process a -> Process a
+ Control.Distributed.Process.Internal.Primitives: mask_ :: Process a -> Process a
+ Control.Distributed.Process.Internal.Types: instance Typeable1 Process
+ Control.Distributed.Process.Internal.Types: instance Typeable1 ReceivePort
+ Control.Distributed.Process.Internal.Types: instance Typeable1 SendPort
+ Control.Distributed.Process.Internal.WeakTQueue: instance Typeable1 TQueue
+ Control.Distributed.Process.Management.Internal.Types: instance Typeable2 MxAgent
+ Control.Distributed.Process.Serializable: instance Typeable1 SerializableDict
Files
- distributed-process.cabal +2/−2
- src/Control/Distributed/Process.hs +2/−0
- src/Control/Distributed/Process/Internal/Primitives.hs +8/−1
distributed-process.cabal view
@@ -1,5 +1,5 @@ Name: distributed-process-Version: 0.5.0+Version: 0.5.1 Cabal-Version: >=1.8 Build-Type: Simple License: BSD3@@ -17,7 +17,7 @@ (<http://research.microsoft.com/en-us/um/people/simonpj/papers/parallel/>), although some of the details are different. The precise message passing semantics are based on /A unified semantics for future Erlang/- by Hans Svensson, Lars-Åke Fredlund and Clara Benac Earle.+ by Hans Svensson, Lars-Åke Fredlund and Clara Benac Earle. You will probably also want to install a Cloud Haskell backend such as distributed-process-simplelocalnet.
src/Control/Distributed/Process.hs view
@@ -134,6 +134,7 @@ , catches , try , mask+ , mask_ , onException , bracket , bracket_@@ -278,6 +279,7 @@ , catches , try , mask+ , mask_ , onException , bracket , bracket_
src/Control/Distributed/Process/Internal/Primitives.hs view
@@ -94,6 +94,7 @@ , catches , try , mask+ , mask_ , onException , bracket , bracket_@@ -129,7 +130,7 @@ import Control.Monad.IO.Class (MonadIO, liftIO) import Control.Applicative ((<$>)) import Control.Exception (Exception(..), throw, throwIO, SomeException)-import qualified Control.Exception as Ex (catch, mask, try)+import qualified Control.Exception as Ex (catch, mask, mask_, try) import Control.Distributed.Process.Internal.StrictMVar ( StrictMVar , modifyMVar@@ -902,6 +903,12 @@ liftRestore restoreIO = \p2 -> do ourLocalProc <- ask liftIO $ restoreIO $ runLocalProcess ourLocalProc p2++-- | Lift 'Control.Exception.mask_'+mask_ :: Process a -> Process a+mask_ p = do+ lproc <- ask+ liftIO $ Ex.mask_ $ runLocalProcess lproc p -- | Lift 'Control.Exception.onException' onException :: Process a -> Process b -> Process a