mirror of
https://github.com/anoma/juvix.git
synced 2025-01-05 22:46:08 +03:00
f4aa70b13d
- Closes #2128 - Closes #2161 This pr fully implements the monadic pretty printer based on `ExactPrint`, which respects comments. Until now, comments inside expressions were printed after the current statement. Now they are printed in the correct place, except when a comment occurs before something that we don't store its location. E.g. parentheses, semicolons, braces, colons, etc. I proposed that we irone out this issue in a separate pr. Since the old non-monadic algorithm is no longer necessary, I removed it. |
||
---|---|---|
.. | ||
Negative.hs | ||
Positive.hs |