Closed PkmX closed 6 years ago
> let Right e = parse "<stdin>" "while true; do :; done;" in putStrLn $ prettyText e while true; do :; done;
For reference, the output from bash's declare -f is:
bash
declare -f
$ f() { while true; do :; done } $ declare -f f f () { while true; do :; done }
It seems like doDone l binds too tightly that the whole block is now beside the while p; text.
doDone l
while p;
Thanks for reporting! :)
For reference, the output from
bash
'sdeclare -f
is:It seems like
doDone l
binds too tightly that the whole block is now beside thewhile p;
text.