phantom-state 0.2.1.1 → 0.2.1.2
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- bench/Main.hs +1/−1
- phantom-state.cabal +1/−1
bench/Main.hs view
@@ -32,7 +32,7 @@ createVector2 :: Int -> V.Vector Int createVector2 n = V.create $ do v <- MV.unsafeNew n- let loop = useAndChangeState $ \i -> MV.write v i i >> pure (i+1)+ let step = useAndChangeState $ \i -> MV.write v i i >> pure (i+1) runPhantomStateT (replicateA_ n step) 0 return v
phantom-state.cabal view
@@ -1,5 +1,5 @@ name: phantom-state-version: 0.2.1.1+version: 0.2.1.2 synopsis: Phantom State Transformer. Like State Monad, but without values. description: A monad transformer that mimics the State Monad Transformer from the <http://hackage.haskell.org/package/transformers transformers> package,