mirror of
https://github.com/google/ghc-source-gen.git
synced 2024-09-11 22:07:09 +03:00
The following syntax is not valid, but can be generated by GHC; ``` do let ... in ... ``` It's not always a problem, if GHC manages to wrap it like ``` do let ... in ... ``` But for consistency, and since this ought to be an uncommon case, always wrap `let`s in parentheses when they're inside of a `do` statement. |
||
---|---|---|
.. | ||
name_test.hs | ||
pprint_examples.hs | ||
pprint_test.hs |