mirror of
https://github.com/google/ormolu.git
synced 2024-12-12 15:14:22 +03:00
c13a515b28
There are no real problems to speak of, as the formatting is obvious and consistent with what the Haskell community already does.See the tests for an example. The reason transform list comprehensions are not implemented yet is because the GHC AST for representing list comprehensions is ahorrible mess, where slightly different list comprehensions end upcausing massively different syntax trees. The simplest way of solving this would likely be a preprocessing step that reads the syntaxtrees and produces a simple, linear list of bindings. I decided not to implement this yet to avoid delaying this commit further. |
||
---|---|---|
.. | ||
examples | ||
printer |