Skip to content

Add IOSimPOR QuickCheck monadic combinators#251

Merged
coot merged 1 commit into
IntersectMBO:mainfrom
dancewithheart:add-monadic-iosimpor
Mar 27, 2026
Merged

Add IOSimPOR QuickCheck monadic combinators#251
coot merged 1 commit into
IntersectMBO:mainfrom
dancewithheart:add-monadic-iosimpor

Conversation

@dancewithheart
Copy link
Copy Markdown
Contributor

Fixes #229

Add IOSimPOR QuickCheck monadic combinators:

  • monadicIOSimPOR
  • monadicIOSimPOR_
  • runIOSimPORGen

similar to monadicIOSim, monadicIOSim_, and runIOSimGen.

This removes the need for hand-written capture + exploreSimTrace
plumbing when using PropertyM with IOSimPOR.

runIOSimPORGen keeps the callback shape of exploreSimTrace, rather
than runIOSimGen, to preserve the POR-specific callback power.

monadicIOSimPOR_ provides a convenient default wrapper, similar to
monadicIOSim_.

Copy link
Copy Markdown
Collaborator

@coot coot left a comment

Choose a reason for hiding this comment

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

LGTM. Do you need a Hackage release?

@github-project-automation github-project-automation Bot moved this to In Progress in Ouroboros Network Mar 27, 2026
@coot coot added the QuickCheck Issues / PRs related to QuickCheck label Mar 27, 2026
@coot coot added this pull request to the merge queue Mar 27, 2026
Merged via the queue into IntersectMBO:main with commit a6ef0d8 Mar 27, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Ouroboros Network Mar 27, 2026
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

Status: Done

Development

Successfully merging this pull request may close these issues.

Missing PropertyM callbacks for IOSimPOR

3 participants