packages feed

pipes-lines 1.0.2 → 1.0.3.1

raw patch · 2 files changed

+7/−7 lines, 2 filesdep ~QuickCheckdep ~basedep ~lensPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: QuickCheck, base, lens, pipes

API changes (from Hackage documentation)

Files

pipes-lines.cabal view
@@ -1,8 +1,8 @@ name:                pipes-lines-version:             1.0.2+version:             1.0.3.1 synopsis:            Pipes for grouping by lines with carriage returns. description:-  `pipes-lens` contains utility functions for splitting lines that involve carriage returns aka lines ending in \\r\\n+  `pipes-lines` contains utility functions for splitting lines that involve carriage returns aka lines ending in \\r\\n   .   These are utility functions that were omitted from pipes-bytestring and pipes-text homepage:            https://github.com/mindreader/pipes-lines@@ -23,8 +23,8 @@                        Pipes.Text.Lines   other-modules:       Pipes.Lines   build-depends:-    base >= 4.7 && < 5,-    pipes >= 4 && < 5,+    base >= 4.7 && < 5.0,+    pipes >= 4.0 && < 5.0,     pipes-group >= 1.0 && < 2.0,     bytestring >= 0.10 && < 0.12,     text >= 1.2 && < 2.0@@ -41,8 +41,8 @@                      , mtl >= 2.2 && < 3                      , pipes >= 4 && < 5                      , pipes-group >= 1.0 && < 2.0-                     , lens-                     , QuickCheck+                     , lens >= 4.0+                     , QuickCheck >= 2.0   ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall   default-language:    Haskell2010 
test/Spec.hs view
@@ -57,7 +57,7 @@ arbitraryNetworkString :: Gen String arbitraryNetworkString = do   n <- choose (1,1500)-  (<> "\r\n") . concat <$> vectorOf n (frequency [(15, arbitrary), (1, return "\r\n")])+  (<> "\r\n") . concat <$> vectorOf n (frequency [(15, arbitrary), (10, return "\r"), (10, return "\r"), (1, return "\r\n")])  newtype SomeWords = SomeWords [String] deriving Show