packages feed

FastPush 0.1.0.0 → 0.1.0.1

raw patch · 3 files changed

+2/−8 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

− ChangeLog.md
@@ -1,5 +0,0 @@-# Revision history for FastPush--## 0.1.0.0  -- YYYY-mm-dd--* First version. Released on an unsuspecting world.
FastPush.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                FastPush-version:             0.1.0.0+version:             0.1.0.1 synopsis:            A monad and monad transformer for pushing things onto a stack very fast. description:         This library gives you a monad that lets you push things onto a stack very quickly.                       You get things off the stack when you run the monad. Under the hood, this uses mutable@@ -16,7 +16,6 @@ -- copyright:            category:            Control build-type:          Simple-extra-source-files:  ChangeLog.md cabal-version:       >=1.10  library
src/Control/Monad/Trans/Push.hs view
@@ -50,7 +50,7 @@ -- | This seems *highly* questionable, but appears to get the job done. {-# INLINE liftST #-} liftST :: Applicative m => ST s a -> STT s m a-liftST (ST f) = STT (\s -> let (# s', a #) = f s in pure (STTRet s a))+liftST (ST f) = STT (\s -> let (# s', a #) = f s in pure (STTRet s' a))  instance (Monad m, VGM.MVector v p) => MonadPush p (PushT v p m) where     {-# INLINE push #-}