happstack-state 6.1.1 → 6.1.2
raw patch · 2 files changed
+4/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
happstack-state.cabal view
@@ -1,5 +1,5 @@ Name: happstack-state-Version: 6.1.1+Version: 6.1.2 Synopsis: Event-based distributed state. Description: Unplug your machine and restart and have your app recover to exactly where it left off. Happstack-State spares you the need to deal with all the marshalling, consistency, and configuration headache that you would have if you used an external DBMS for this purpose. Its component model makes it easy to compose big applications from smaller reliable parts. Use event subscription to trigger IO actions and support comet-style or irc-bot applications. License: BSD3
src/Happstack/State/Types.hs view
@@ -28,6 +28,8 @@ instance Typeable StdGen where typeOf _ = mkTyConApp (mkTyCon "System.Random.StdGen") [] +#if (MIN_VERSION_random(1,0,1))+#else instance Random Word64 where randomR = integralRandomR random = randomR (minBound,maxBound)@@ -40,7 +42,7 @@ integralRandomR (a,b) g = case randomR (fromIntegral a :: Integer, fromIntegral b :: Integer) g of (x,g') -> (fromIntegral x, g')-+#endif data TxContext = TxContext { txId :: TxId,