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

Add an include option to qcheck-stm cli #181

Merged
merged 2 commits into from
Nov 20, 2023

Conversation

n-osborne
Copy link
Collaborator

This PR proposes to add an include option to the qcheck-stm cli. This will include the module passed as value of the option in the generated code. The idea is to allow the user to easily add STM.ty extensions and STM.Utils.pp*s without having to edit the generated file by hand.

This PR does not move the configuration in the included module (the init_sut expression and the sut type expression given by the user on the cli).

Copy link
Contributor

@shym shym left a comment

Choose a reason for hiding this comment

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

Good work! I’ve opened a PR with a couple of small suggestions.
I’m not sure where the ~docv in conv is used if you provide another one in info (I didn’t see it appear in the generated help) so, if that’s indeed overridden by the info one, we can go the standard combinators (as I could not find how to specify the docv with the combinators, I wonder whether the ~docv is really used, by the way).
Now I want to see it put into use for the dllist example! (I suppose that’s how you tested it anyway :-)

n-osborne added a commit to n-osborne/ortac that referenced this pull request Nov 20, 2023
@n-osborne n-osborne force-pushed the include-option branch 2 times, most recently from 83d1a6b to 22ae643 Compare November 20, 2023 09:03
@n-osborne n-osborne merged commit c0861c9 into ocaml-gospel:main Nov 20, 2023
@n-osborne n-osborne deleted the include-option branch November 20, 2023 10:11
@n-osborne n-osborne mentioned this pull request Nov 21, 2023
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