atom-conduit 0.3.1.1 → 0.3.1.2
raw patch · 2 files changed
+5/−6 lines, 2 filesdep ~mono-traversable
Dependency ranges changed: mono-traversable
Files
- atom-conduit.cabal +3/−3
- test/Main.hs +2/−3
atom-conduit.cabal view
@@ -1,5 +1,5 @@ name: atom-conduit-version: 0.3.1.1+version: 0.3.1.2 synopsis: Streaming parser/renderer for the Atom 1.0 standard (RFC 4287). description: Please refer to README. license: OtherLicense@@ -29,7 +29,7 @@ , exceptions , foldl , lens-simple- , mono-traversable+ , mono-traversable >= 1.0.0.1 , parsers , text , time >= 1.5@@ -52,7 +52,7 @@ exceptions, hlint, lens-simple,- mono-traversable,+ mono-traversable >= 1.0.0.1, parsers, quickcheck-instances, resourcet,
test/Main.hs view
@@ -11,7 +11,6 @@ import Data.Conduit.Parser.XML as XML import Data.Default import Data.Functor.Identity-import Data.MinLen import Data.Monoid import Data.MonoTraversable import Data.NonNull@@ -196,8 +195,8 @@ digit = arbitrary `suchThat` isDigit alphaNum = oneof [letter, digit] -instance (MonoFoldable a, Arbitrary a) => Arbitrary (MinLen (Succ Zero) a) where- arbitrary = nonNull <$> arbitrary `suchThat` (not . onull)+instance (MonoFoldable a, Arbitrary a) => Arbitrary (NonNull a) where+ arbitrary = impureNonNull <$> arbitrary `suchThat` (not . onull) instance Arbitrary Scheme where arbitrary = do