packages feed

QuickCheck 2.7.4 → 2.7.5

raw patch · 3 files changed

+5/−7 lines, 3 filesdep ~QuickCheckPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: QuickCheck

API changes (from Hackage documentation)

Files

QuickCheck.cabal view
@@ -1,5 +1,5 @@ Name: QuickCheck-Version: 2.7.4+Version: 2.7.5 Cabal-Version: >= 1.8 Build-type: Simple License: BSD3@@ -34,7 +34,7 @@ source-repository this   type:     git   location: https://github.com/nick8325/quickcheck-  tag:      2.7.4+  tag:      2.7.5  flag base3   Description: Choose the new smaller, split-up base package.@@ -141,6 +141,6 @@     main-is: Heap.hs     build-depends:       base,-      QuickCheck == 2.7.4,+      QuickCheck == 2.7.5,       template-haskell >= 2.4,       test-framework >= 0.4 && < 0.9
Test/QuickCheck/All.hs view
@@ -106,7 +106,7 @@   Loc { loc_filename = filename } <- location   when (filename == "<interactive>") $ error "don't run this interactively"   ls <- runIO (fmap lines (readUTF8File filename))-  let prefixes = map (takeWhile (\c -> isAlphaNum c || c == '_') . dropWhile (\c -> isSpace c || c == '>')) ls+  let prefixes = map (takeWhile (\c -> isAlphaNum c || c == '_' || c == '\'') . dropWhile (\c -> isSpace c || c == '>')) ls       idents = nubBy (\x y -> snd x == snd y) (filter (("prop_" `isPrefixOf`) . snd) (zip [1..] prefixes)) #if __GLASGOW_HASKELL__ > 705       warning x = reportWarning ("Name " ++ x ++ " found in source file but was not in scope")
examples/Heap.hs view
@@ -146,9 +146,7 @@ -- main  return []--- quickCheckAll reads this file and treats it as UTF-8--- Here is a bait to test: Привет!-main = $(quickCheckAll)+main = $quickCheckAll  -------------------------------------------------------------------------- -- the end.