stateful-mtl 1.0.5 → 1.0.6
raw patch · 2 files changed
+5/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Control.Monad.ST.Class: instance MonadST IO
Files
- Control/Monad/ST/Class.hs +4/−0
- stateful-mtl.cabal +1/−1
Control/Monad/ST/Class.hs view
@@ -25,6 +25,10 @@ type StateThread (ST s) = s liftST m = m +instance MonadST IO where+ type StateThread IO = RealWorld+ liftST = stToIO+ instance (MonadST m, MonadTrans t, Monad m) => MonadST (t m) where type StateThread (t m) = StateThread m liftST = lift . liftST
stateful-mtl.cabal view
@@ -1,5 +1,5 @@ name: stateful-mtl-version: 1.0.5+version: 1.0.6 synopsis: Stateful monad transformers with pure evaluation semantics. description: Stateful monad transformers with pure evaluation semantics, useful for monadically pulling out implementation details of array manipulation and operations in the ST monad. Includes typeclasses suitable for guaranteeing single-threaded monad behavior, avoiding previously encountered problems with ST monad transformers. This package remains in a state of flux, so please notify the author about features you like or dislike. tested-with: GHC