packages feed

incremental-parser 0.2.3.3 → 0.2.3.4

raw patch · 2 files changed

+17/−18 lines, 2 filesdep +tastydep +tasty-quickcheckdep −test-frameworkdep −test-framework-quickcheck2dep ~basedep ~checkersdep ~monoid-subclassesPVP ok

version bump matches the API change (PVP)

Dependencies added: tasty, tasty-quickcheck

Dependencies removed: test-framework, test-framework-quickcheck2

Dependency ranges changed: base, checkers, monoid-subclasses

API changes (from Hackage documentation)

Files

Test/TestIncrementalParser.hs view
@@ -1,5 +1,5 @@ {- -    Copyright 2011 Mario Blazevic+    Copyright 2011-2015 Mario Blazevic      This file is part of the Streaming Component Combinators (SCC) project. @@ -26,8 +26,7 @@ import Data.Monoid (Monoid(..)) import System.Environment (getArgs) -import Test.QuickCheck (Arbitrary(..), Gen, Property, property, (==>), (.&&.), forAll, oneof, resize, sized, verbose,-                        whenFail)+import Test.Tasty.QuickCheck (Arbitrary(..), Gen, Property, property, (==>), (.&&.), forAll, oneof, resize, sized, whenFail) import Test.QuickCheck.Checkers (Binop, EqProp(..), TestBatch, isAssoc, leftId, rightId, verboseBatch) import Test.QuickCheck.Classes (functor, monad, monoid, applicative, monadFunctor, monadApplicative, monadOr, monadPlus) @@ -121,7 +120,7 @@          monadPlus parser2s,          primitives,          lookAheadBatch,-         join]+         testJoin]  -- | Properties to check that the 'Alternative' @m@ satisfies the alternative -- properties@@ -212,14 +211,14 @@                               >> putStrLn "  =>" >> print p1 >> putStrLn "  !=" >> print p2)                     (canonicalResults p1 == canonicalResults p2) -join :: TestBatch-join = ("join",-        [("empty ><", property leftZeroP),-         (">< empty", property rightZeroP),-         ("(<|>) ><", property leftDistP),-         (">< (<||>)", property rightDistP),-         ("><", property joinP1),-         (">< infallible", property joinP2)])+testJoin :: TestBatch+testJoin = ("join",+            [("empty ><", property leftZeroP),+             (">< empty", property rightZeroP),+             ("(<|>) ><", property leftDistP),+             (">< (<||>)", property rightDistP),+             ("><", property joinP1),+             (">< infallible", property joinP2)])    where leftZeroP :: Described (Parser a [Bool] String) -> Property          rightZeroP :: Described (Parser a [Bool] String) -> Property          leftDistP :: Described (Parser a [Bool] String) -> Described (Parser a [Bool] String)
incremental-parser.cabal view
@@ -1,5 +1,5 @@ Name:                incremental-parser-Version:             0.2.3.3+Version:             0.2.3.4 Cabal-Version:       >= 1.10 Build-Type:          Simple Synopsis:            Generic parser library capable of providing partial results from partial input.@@ -13,7 +13,7 @@    License:             GPL License-file:        LICENSE.txt-Copyright:           (c) 2011-2013 Mario Blazevic+Copyright:           (c) 2011-2015 Mario Blazevic Author:              Mario Blazevic Maintainer:          blamario@yahoo.com Homepage:            http://patch-tag.com/r/blamario/incremental-parser/wiki/@@ -25,7 +25,7 @@   Exposed-Modules:   Text.ParserCombinators.Incremental,                      Text.ParserCombinators.Incremental.LeftBiasedLocal, Text.ParserCombinators.Incremental.Symmetric,                      Control.Applicative.Monoid-  Build-Depends:     base < 5, monoid-subclasses < 0.4+  Build-Depends:     base < 5, monoid-subclasses < 0.5   GHC-prof-options:  -auto-all   if impl(ghc >= 7.0.0)      default-language: Haskell2010@@ -33,9 +33,9 @@ test-suite Main   Type:            exitcode-stdio-1.0   x-uses-tf:       true-  Build-Depends:     base < 5, monoid-subclasses < 0.4,-                     QuickCheck >= 2 && < 3, checkers >= 0.2 && < 0.5,-                     test-framework >= 0.4.1, test-framework-quickcheck2+  Build-Depends:     base < 5, monoid-subclasses < 0.5,+                     QuickCheck >= 2 && < 3, checkers >= 0.3.2 && < 0.5,+                     tasty >= 0.7, tasty-quickcheck >= 0.7   Main-is:           Test/TestIncrementalParser.hs   Other-Modules:     Text.ParserCombinators.Incremental,                      Text.ParserCombinators.Incremental.LeftBiasedLocal, Text.ParserCombinators.Incremental.Symmetric,