potoki-core 0.9.1 → 0.9.2
raw patch · 4 files changed
+33/−5 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Potoki.Core.Consume: Consume :: (Fetch input -> IO output) -> Consume input output
+ Potoki.Core.Consume: newtype Consume input output
+ Potoki.Core.Fetch: Fetch :: (forall x. x -> (element -> x) -> IO x) -> Fetch element
+ Potoki.Core.Fetch: newtype Fetch element
+ Potoki.Core.Produce: Produce :: (Managed (Fetch element)) -> Produce element
+ Potoki.Core.Produce: newtype Produce element
Files
- library/Potoki/Core/Consume.hs +10/−2
- library/Potoki/Core/Fetch.hs +15/−1
- library/Potoki/Core/Produce.hs +7/−1
- potoki-core.cabal +1/−1
library/Potoki/Core/Consume.hs view
@@ -1,6 +1,14 @@-module Potoki.Core.Consume where+module Potoki.Core.Consume+(+ Consume(..),+ apConcurrently,+ list,+ sum,+ transform,+)+where -import Potoki.Core.Prelude+import Potoki.Core.Prelude hiding (sum) import Potoki.Core.Types import qualified Potoki.Core.Fetch as A
library/Potoki/Core/Fetch.hs view
@@ -1,4 +1,18 @@-module Potoki.Core.Fetch where+module Potoki.Core.Fetch+(+ Fetch(..),+ duplicate,+ maybeRef,+ list,+ firstCachingSecond,+ bothFetchingFirst,+ rightHandlingLeft,+ rightCachingLeft,+ eitherFetchingRight,+ signaling,+ ioMaybe,+)+where import Potoki.Core.Prelude import Potoki.Core.Types
library/Potoki/Core/Produce.hs view
@@ -1,4 +1,10 @@-module Potoki.Core.Produce where+module Potoki.Core.Produce+(+ Produce(..),+ list,+ transform,+)+where import Potoki.Core.Prelude import Potoki.Core.Types
potoki-core.cabal view
@@ -1,7 +1,7 @@ name: potoki-core version:- 0.9.1+ 0.9.2 synopsis: Low-level components of "potoki" description: