It seems to me like --no-partial-eval and --partial-eval should be merged and converted to a switch instead of separate flags. This way we can set it False by default, and True when --no-partial-eval is passed.
Here's what happens in HEAD:
➜ idris --partial-eval --no-partial-eval
____ __ _
/ _/___/ /____(_)____
/ // __ / ___/ / ___/ Version 0.9.17.1-git:e7f9257
_/ // /_/ / / / (__ ) http://www.idris-lang.org/
/___/\__,_/_/ /_/____/ Type :? for help
Idris is free software with ABSOLUTELY NO WARRANTY.
For details type :warranty.
Idris>
Accepted without any warnings or errors. I have no ideas whether partial evaluation is enabled or disabled.
It seems to me like
--no-partial-eval
and--partial-eval
should be merged and converted to a switch instead of separate flags. This way we can set itFalse
by default, andTrue
when--no-partial-eval
is passed.Here's what happens in HEAD:
Accepted without any warnings or errors. I have no ideas whether partial evaluation is enabled or disabled.