packages feed

attoparsec-trans 0.1.0.2 → 0.1.0.3

raw patch · 2 files changed

+2/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

attoparsec-trans.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                attoparsec-trans-version:             0.1.0.2+version:             0.1.0.3 synopsis:            Interleaved effects for attoparsec parsers -- description:          homepage:            https://github.com/srijs/haskell-attoparsec-trans
src/Control/Monad/Trans/Parser.hs view
@@ -62,6 +62,7 @@       rec f (FailM i s)  = return (FailM i s)       rec f (DoneM i r)  = runParserT (f r) i       rec f (PartialM p) = return . PartialM $ p >>= f+  fail s = ParserT $ \i -> return $ FailM i s  instance MonadTrans (ParserT i) where   lift mr = ParserT $ \i -> mr >>= return . DoneM i