Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jun 29, 2020

Conversation

phadej
Copy link
Contributor

@phadej phadej commented May 28, 2020

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: haskellari/splitmix#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

phadej added 2 commits May 28, 2020 18:13
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: haskellari/splitmix#34
@phadej phadej changed the title Use splitmix-0.0.5 nextInteger, and support splitmix-0.1 Use splitmix-0.0.5's nextInteger, and support splitmix-0.1 (i.e. don't rely on RandomGen SMGen instance) May 28, 2020
@nick8325 nick8325 merged commit e2abb66 into nick8325:master Jun 29, 2020
@phadej phadej deleted the splitmix-0.0.5-and-0.1 branch June 29, 2020 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants