ormolu/data/examples/import
mrkkrp 85d5f78b4b Change parens style and how separated lists of items are printed
Goals:

* Make the set of combinators clearer and smaller.
* Solve a number of issues, such as those about parse failures related to
  patterns.
* Solve the bug from #244.

The idea is very simple, we stop doing this

  ( foo
  , bar
  )

and start doing this

( foo,
  bar
  )

* We switch to trailing commas which solves the indentation issues for
  patterns automatically.
* The new general ‘sep’ combinator finally is clear enough, and all the old
  zoo of ‘velt’ and ‘velt'’ and ‘sepWith’, etc. which was confusing and
  overlapping goes away.
2019-08-04 13:32:06 +02:00
..
comments-per-import-out.hs Implement more precise comment placement without ‘ghc-exactprint’ 2019-05-08 22:03:21 +02:00
comments-per-import.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00
explicit-imports-out.hs Change parens style and how separated lists of items are printed 2019-08-04 13:32:06 +02:00
explicit-imports-with-comments-out.hs Change parens style and how separated lists of items are printed 2019-08-04 13:32:06 +02:00
explicit-imports-with-comments.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00
explicit-imports.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00
explicit-prelude-out.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00
explicit-prelude.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00
misc-out.hs Change parens style and how separated lists of items are printed 2019-08-04 13:32:06 +02:00
misc.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00
nested-explicit-imports-out.hs Change parens style and how separated lists of items are printed 2019-08-04 13:32:06 +02:00
nested-explicit-imports.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00
qualified-prelude-out.hs Fix comparison of prelude imports 2019-06-30 22:42:32 +02:00
qualified-prelude.hs Fix comparison of prelude imports 2019-06-30 22:42:32 +02:00
simple-out.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00
simple.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00
sorted-out.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00
sorted.hs Implement pretty-printing of imports 2019-03-21 14:45:06 +01:00