@@ -7,22 +7,22 @@ the following features in mind:
77
88* Using GHC's own parser to avoid parsing problems caused by
99 [`haskell-src-exts`][haskell-src-exts].
10+* Let some whitespace be programmable. The layout of the input
11+ influence the layout choices in the output. This means that the
12+ choices between single-line/multi-line layouts in each particular
13+ situation are made by the user, not by an algorithm. This makes the
14+ implementation simpler and leaves some control to the user while
15+ still guaranteeing that the formatted code is stylistically
16+ consistent.
1017* Writing code in such a way so it's easy to modify and maintain. Roughly,
1118 it means that the project follows the path of [`hindent`][hindent] and is
1219 very much about printing AST in a particular way.
1320* Implementing one “true” formatting style which admits no configuration.
1421* That formatting style aims to result in minimal diffs while still
1522 remaining very close to “conventional” Haskell formatting people use.
16−* Let the layout of the input influence the layout choices in the output.
17− This means that the choices between single-line/multi-line layouts in each
18− particular situation are made by the user, not by an algorithm. This makes
19− the implementation simpler and leaves some control to the user while still
20− guaranteeing that the formatted code is stylistically consistent.
2123* Idempotency: formatting already formatted code doesn't change it.
2224* Be well-tested and robust to the point that it can be used in large
2325 projects without exposing unfortunate, disappointing bugs here and there.
24−* The project is commercially backed by a company, that is, Tweag. This
25− guarantees that it'll be actively maintained and bugs will be fixed.
2626
2727## Contribution
2828
@@ -85,6 +85,8 @@ inspiration.
8585
8686## License
8787
88+See [LICENSE](./LICENSE).
89+
8890Copyright © 2018–2019 Tweag I/O
8991
9092[haskell-src-exts]: https://hackage.haskell.org/package/haskell-src-exts