nick8325 / quickcheck

Automatic testing of Haskell programs.
Other
713 stars 119 forks source link

Use splitmix-0.0.5's nextInteger, and support splitmix-0.1 (i.e. don't rely on RandomGen SMGen instance) #299

Closed phadej closed 4 years ago

phadej commented 4 years ago

splitmix-0.1 dropped dependency on random. But that's a non-issue, as QuickCheck doesn't use any random instances of SMGen, we only need to implement RandomGen QCGen in terms of splitmix combinators

Related: https://github.com/phadej/splitmix/issues/34

EDIT: I made revisions to QuickCheck-2.13 .. 2.14 to disallow splitmix-0.1 (which doesn't have RangomGen instance anymore), e.g. https://hackage.haskell.org/package/QuickCheck-2.14/revisions/

EDIT2: Travis job https://travis-ci.org/github/nick8325/quickcheck/builds/692237337