packages feed

pipes-parse 3.0.8 → 3.0.9

raw patch · 3 files changed

+5/−4 lines, 3 filesdep ~transformersPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: transformers

API changes (from Hackage documentation)

+ Pipes.Parse: StateT :: (s -> m (a, s)) -> StateT s (m :: Type -> Type) a
+ Pipes.Parse: [runStateT] :: StateT s (m :: Type -> Type) a -> s -> m (a, s)
+ Pipes.Parse: evalStateT :: Monad m => StateT s m a -> s -> m a
+ Pipes.Parse: execStateT :: Monad m => StateT s m a -> s -> m s
+ Pipes.Parse: lift :: (MonadTrans t, Monad m) => m a -> t m a
+ Pipes.Parse: newtype StateT s (m :: Type -> Type) a
+ Pipes.Parse: next :: Monad m => Producer a m r -> m (Either r (a, Producer a m r))
+ Pipes.Parse: type Producer b = Proxy X () () b
+ Pipes.Parse: yield :: forall (m :: Type -> Type) a x' x. Functor m => a -> Proxy x' x () a m ()

Files

pipes-parse.cabal view
@@ -1,6 +1,6 @@ Name: pipes-parse-Version: 3.0.8-Cabal-Version: >=1.8.0.2+Version: 3.0.9+Cabal-Version: >=1.10 Build-Type: Simple License: BSD3 License-File: LICENSE@@ -38,3 +38,4 @@         Pipes.Parse,         Pipes.Parse.Tutorial     GHC-Options: -O2 -Wall+    Default-Language: Haskell2010
src/Pipes/Parse.hs view
@@ -147,7 +147,7 @@ peek :: Monad m => Parser a m (Maybe a) peek = do     x <- draw-    forM_ x unDraw+    forM_ x $ \a -> unDraw a     return x {-# INLINABLE peek #-} 
src/Pipes/Parse/Tutorial.hs view
@@ -245,7 +245,7 @@ 5 6 -    We can also uses lenses to modify 'Parser's, using+    We can also use lenses to modify 'Parser's, using     'Lens.Family.State.Strict.zoom'.  When we combine     'Lens.Family.State.Strict.zoom' with @(splitAt 3)@ we limit a parser to the     the first three elements of the stream.  When the parser is done