aivika 5.3 → 5.3.1
raw patch · 3 files changed
+9/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- Simulation/Aivika/Internal/Cont.hs +3/−3
- aivika.cabal +1/−1
CHANGELOG.md view
@@ -1,4 +1,9 @@ +Version 5.3.1+-----++* Increased the speed of simulation.+ Version 5.3 -----
Simulation/Aivika/Internal/Cont.hs view
@@ -255,7 +255,7 @@ ContParamsAux { contECont :: SomeException -> Event (), contCCont :: () -> Event (), contId :: ContId,- contCancelFlag :: IO Bool,+ contCancelRef :: IORef Bool, contCatchFlag :: Bool } instance Monad Cont where@@ -405,7 +405,7 @@ ContParamsAux { contECont = econt, contCCont = ccont, contId = cid,- contCancelFlag = contCancellationActivated cid, + contCancelRef = contCancellationActivatedRef cid, contCatchFlag = catchFlag } } -- | Lift the 'Parameter' computation.@@ -505,7 +505,7 @@ -- | Test whether the computation is canceled. contCanceled :: ContParams a -> IO Bool {-# INLINE contCanceled #-}-contCanceled c = contCancelFlag $ contAux c+contCanceled c = readIORef $ contCancelRef $ contAux c -- | Execute the specified computations in parallel within -- the current computation and return their results. The cancellation
aivika.cabal view
@@ -1,5 +1,5 @@ name: aivika-version: 5.3+version: 5.3.1 synopsis: A multi-method simulation library description: Aivika is a discrete event simulation (DES) framework with support of activity-oriented,