Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It turns out
tasty
very much had all building blocks to allow specifying initial option set.This may solve #414
This PR is a draft, I'd welcome if anyone takes over as I did the least possible as a proof-of-concept (no haddocks for example).
The
options-example
"test-suite" is a demo.cabal run options-example -- --help
prints(I made default value visible).
and if you run test the output is
so the value is actually used. But it can still be overridden with
--quickcheck-tests
:cabal run options-example -- --quickcheck-tests 1234
This patch is done on 10% Well-Typed time.