@@ -19,6 +19,14 @@
1919This document describes design of a new formatter for Haskell source code.
2020It also includes recommendations for future implementers.
2121
22+We set for the following goals (mostly taken from
23+[brittany](https://github.com/lspitzner/brittany)):
24+* Preserve the meaning of the formatted functions;
25+* Make reasonable use of screen space;
26+* Use linear space and computation time on the size of the input;
27+* Preserve comments;
28+* Be idempotent.
29+
2230## Analysis of the existing solutions
2331
2432In order to design a new formatter we need to study the existing solutions