packages feed

quiver 0.0.0.5 → 0.0.0.6

raw patch · 3 files changed

+11/−6 lines, 3 files

Files

quiver.cabal view
@@ -1,5 +1,5 @@ name:           quiver-version:        0.0.0.5+version:        0.0.0.6 synopsis:       Quiver finite stream processing library homepage:       https://github.com/zadarnowski/quiver category:       Control@@ -35,7 +35,7 @@ source-repository this   type:         git   location:     https://github.com/zadarnowski/quiver.git-  tag:          0.0.0.5+  tag:          0.0.0.6  library   hs-source-dirs:   src
src/Control/Quiver.lhs view
@@ -13,7 +13,7 @@  > module Control.Quiver ( >   -- Imported from @Control.Quiver.Internal@:->   P, Consumer, Producer, Effect,+>   P, SP, Consumer, Producer, Effect, >   consume, produce, enclose, deliver, >   decouple, deplete, >   -- Defined below:@@ -91,7 +91,7 @@ > --   uses a pure function @f@ to convert every input value into > --   an output; equivalent to @qpure id f (const ())@. -> qpure_ :: (a -> b) -> P () a b b' f ()+> qpure_ :: (a -> b) -> SP a b f () > qpure_ f = cloop >  where >   cloop = consume () ploop (deliver ())@@ -118,7 +118,7 @@  > -- | A pull-based list flattening processor without requests. -> qconcat_ :: P () [a] a xx f [a]+> qconcat_ :: SP [a] a f [a] > qconcat_ = cloop >  where >   cloop = consume () ploop (deliver [])
src/Control/Quiver/Internal.lhs view
@@ -28,7 +28,7 @@ > {-# LANGUAGE RankNTypes, TupleSections #-}  > module Control.Quiver.Internal (->   P (..), Producer, Consumer, Effect,+>   P (..), SP, Producer, Consumer, Effect, >   consume, produce, enclose, deliver, >   decouple, deplete, > ) where@@ -101,6 +101,11 @@ >   --   its ultimate result @r@.  >   Deliver r++> -- | A /simple processor/ with a unit request type and an unspecified+> --   response type:++> type SP a b f r = forall b' . P () a b b' f r  > -- | A Quiver /producer/, represented by a stream processor > --   with unspecified input types.