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

QuickCheck monadic combinators #140

Merged
merged 1 commit into from
Feb 13, 2024
Merged

QuickCheck monadic combinators #140

merged 1 commit into from
Feb 13, 2024

Conversation

coot
Copy link
Collaborator

@coot coot commented Feb 12, 2024

No description provided.

@coot coot added the QuickCheck Issues / PRs related to QuickCheck label Feb 12, 2024
monadicIOSim :: (Testable a, forall s. Monad (m s))
=> (SimTrace Property -> Property)
-- ^ Allows to trace `SimTrace` in counterexamples. The simplest
-- use case is to pass which `monadicIOSim` does.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
-- use case is to pass which `monadicIOSim` does.
-- use case is to pass which `monadicIOSim_` does.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any better idea for the two names monadicIOSim_ and monadicIOSim. I put them this way because monadicIOSim might be actually more useful than the specialised one since it's useful when dealing with monad transformer stacks.

@coot coot added this pull request to the merge queue Feb 13, 2024
Merged via the queue into main with commit b6774b5 Feb 13, 2024
17 checks passed
@coot coot deleted the coot/quickcheck-monadic branch February 13, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QuickCheck Issues / PRs related to QuickCheck
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants