pipes-ordered-zip 1.0.0.1 → 1.0.1
raw patch · 2 files changed
+9/−7 lines, 2 filesdep ~basedep ~foldldep ~pipesPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, foldl, pipes
API changes (from Hackage documentation)
Files
- pipes-ordered-zip.cabal +5/−5
- src/Pipes/OrderedZip.hs +4/−2
pipes-ordered-zip.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: pipes-ordered-zip-version: 1.0.0.1+version: 1.0.1 license: BSD3 license-file: LICENSE copyright: 2019 Stephan Schiffels@@ -23,7 +23,7 @@ default-language: Haskell2010 build-depends: base >=4.7 && <5,- pipes >=4.3.9 && <4.4+ pipes >=4.3.9 test-suite pipes-ordered-zip-tests type: exitcode-stdio-1.0@@ -31,7 +31,7 @@ hs-source-dirs: src-tests default-language: Haskell2010 build-depends:- base >=4.12.0.0 && <4.13,+ base >=4.12.0.0, pipes-ordered-zip -any,- pipes >=4.3.9 && <4.4,- foldl >=1.4.5 && <1.5+ pipes >=4.3.9,+ foldl >=1.4.5
src/Pipes/OrderedZip.hs view
@@ -4,8 +4,10 @@ import Pipes (Producer, next, yield, lift) -- |orderedZip takes a comparison function and two producers and merges them --- together, creating a new Producer that yields pairs or Maybes of the two --- datatables provided by the two original producers+-- together, creating a new Producer that yields pairs of Maybes of the two +-- datatables provided by the two original producers.+-- The output pairs reflect the Union of the two input producers, with Nothings indicating+-- missing data in one of the producers at that location. orderedZip :: (Monad m) => (a -> b -> Ordering) -- ^The function to compare types of a with b -> Producer a m r1 -- ^The first producer (has to be ordered) -> Producer b m r2 -- ^The second producer (has to be ordered)