-
Notifications
You must be signed in to change notification settings - Fork 20
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
[WIP] adopt hwk's command-line API #264
base: main
Are you sure you want to change the base?
Conversation
silences the redundant import warnings on ghc >= 8.8
It will be removed in 9.2, so just use Maybe but it is still needed for base < 4.11
since simple-cmd-args needs optparse-applicative >=0.14.1
It now builds back to lts-10.7. |
/home/runner/work/hawk/hawk/src/System/Console/Hawk.hs:25:0: error: Error: error: missing binary operator before token "(" 25 | #if !MIN_VERSION_simple_cmd_args(0,1,3) |
seems more natural only to have optparse-applicative in Main too
The tests are now passing but likely still missing some mode handling. |
Hmm, But |
Looks like the default behaviour when no flags are specified switched from printing a value to splitting lines into words and applying a transformation on each of them:
|
|
TODO: