quickcheck-string-random 0.1.3.0 → 0.1.4.0
raw patch · 2 files changed
+34/−43 lines, 2 filesdep ~QuickCheckPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: QuickCheck
API changes (from Hackage documentation)
Files
quickcheck-string-random.cabal view
@@ -1,59 +1,50 @@ cabal-version: 1.12---- This file has been generated from package.yaml by hpack version 0.31.2.------ see: https://github.com/sol/hpack------ hash: e0229b4b01f33339f7df24b4d64512ea9cb69d93bb982efd7d1ae632f3e86da2+name: quickcheck-string-random+version: 0.1.4.0+synopsis: Helper to build generators with Text.StringRandom+description:+ Define a generator of Text that matches regular+ expressions. This package is useful for creating Arbitrary+ instances of Text type restricted by newtype. -name: quickcheck-string-random-version: 0.1.3.0-synopsis: Helper to build generators with Text.StringRandom-description: Define a generator of Text that matches regular- expressions. This package is useful for creating Arbitrary- instances of Text type restricted by newtype.-category: Test-homepage: https://github.com/hiratara/hs-string-random#readme-bug-reports: https://github.com/hiratara/hs-string-random/issues-author: Masahiro Honma-maintainer: hiratara@cpan.org-copyright: Copyright (C) 2016- hiratara-license: BSD3-license-file: LICENSE-tested-with: GHC==8.0.1-build-type: Simple+category: Test+homepage: https://github.com/hiratara/hs-string-random#readme+bug-reports: https://github.com/hiratara/hs-string-random/issues+author: Masahiro Honma+maintainer: hiratara@cpan.org+copyright: Copyright (C) 2016- hiratara+license: BSD3+license-file: LICENSE+tested-with: GHC ==8.10.3+build-type: Simple source-repository head- type: git+ type: git location: https://github.com/hiratara/hs-string-random library- exposed-modules:- Test.QuickCheck.StringRandom- other-modules:- Paths_quickcheck_string_random- hs-source-dirs:- src+ -- cabal-fmt: expand src+ exposed-modules: Test.QuickCheck.StringRandom+ hs-source-dirs: src build-depends:- QuickCheck >=2.8.2 && <2.14- , base >=4.9 && <5- , string-random ==0.1.*- , text >=1.2.2.1 && <1.3+ base >=4.9 && <5+ , QuickCheck >=2.8.2 && <2.15+ , string-random >=0.1 && <0.2+ , text >=1.2.2.1 && <1.3+ default-language: Haskell2010 test-suite quickcheck-string-random-test- type: exitcode-stdio-1.0- main-is: quickcheck-string-random-test.hs- other-modules:- Paths_quickcheck_string_random- hs-source-dirs:- test- ghc-options: -threaded -rtsopts -with-rtsopts=-N+ type: exitcode-stdio-1.0+ main-is: quickcheck-string-random-test.hs+ hs-source-dirs: test+ ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends:- QuickCheck- , base+ base+ , QuickCheck , quickcheck-string-random , tasty , tasty-quickcheck , text+ default-language: Haskell2010
src/Test/QuickCheck/StringRandom.hs view
@@ -42,4 +42,4 @@ -- | The 'matchRegexp pat' defines a generator that produces a text that -- | matches a regular expression 'pat' matchRegexp :: Text.Text -> QC.Gen Text.Text-matchRegexp txt = QC.MkGen $ \(QC.QCGen g) _ -> StringRandom.stringRandom g txt+matchRegexp txt = QC.MkGen $ \g _ -> StringRandom.stringRandom g txt