Commit Graph

20 Commits (392e5b7569f692f1cb98980b29aadaee0338c6c9)

Author SHA1 Message Date
Taylor Fausak 392e5b7569 Fix many HLint warnings 2021-11-06 21:05:10 +00:00
Taylor Fausak d03deccba8 Remove unnecessary export lists 2021-11-06 20:38:28 +00:00
Taylor Fausak d1968b5de3 Remove redundant language extensions 2021-11-06 18:17:01 +00:00
Taylor Fausak 72fd6959f7 Don't enable any language extensions by default 2021-11-06 17:45:56 +00:00
Taylor Fausak c02edecd1e Remove redundant constraints 2021-11-06 17:39:57 +00:00
Taylor Fausak 32da5defb5 Remove unused imports 2021-11-06 17:27:19 +00:00
Taylor Fausak 1e7a94e72e Inline `prelude.inc` 2021-11-06 17:12:55 +00:00
Taylor Fausak d89cf0ad30 Remove CPP 2021-11-06 17:03:42 +00:00
Lennart Spitzner 614bf3424d Minor refactoring 2020-11-19 09:00:45 +08:00
Lennart Spitzner 128dd828c2 Fix newline issue on comments before where 2020-01-11 23:19:04 +01:00
Lennart Spitzner af227a797d Add a few code comments 2019-12-20 01:20:07 +01:00
Lennart Spitzner 6724760f40 Fix non-idempotent newlines with comment + where (#263) 2019-12-20 01:12:25 +01:00
Lennart Spitzner 5a49277eba Improve data decl layouting
- Fix bug in BackendUtil/lowest level of brittany about
  alignment being ignored after a comment,
- Properly layout large (more than single-line) types in
  record fields and in data decl rhs arguments,
- Properly layout data decl constructors with large "heads"
  (forall, constraints),
- Add a config flag to control single-line layout of record
  definition,
2019-12-09 11:20:28 -07:00
Lennart Spitzner 621e00bf3f Fix indentation (comments) after "if" (Fixes #167) 2018-11-14 14:53:08 +01:00
Lennart Spitzner ad5868eb76 Fix spacing bugs, Clean up implemenation
- Normalize spaces on type alias lhs. unnecessary spaces were
  retained previously, e.g.
  "type   (   (   a  :%:   b   ) c   ) = (a , c)"
  had non-optimal output
- Clean up separator usage
- Remove backend hacks (to some degree)
- Minor reformatting and premature optimization
2018-10-27 16:15:28 +02:00
Rupert Horlick b249c10054
Deal with parens inside comments on 8.4.3 2018-10-17 17:01:31 -04:00
Lennart Spitzner 655074d1c0 Fix comment insertion error introduced in 91b9a240 2017-08-10 13:09:39 +02:00
Lennart Spitzner 91b9a240f1 Fix comment-before-BDCols issue; Relax alignmentBreakOnMultiline 2017-08-07 00:35:09 +02:00
Lennart Spitzner 41beeb9723 Remove/Cleanup unused/deprecated MTEL stuff 2017-08-06 16:28:41 +02:00
Lennart Spitzner f350113f7f Refactor all modules: +Internal; Add public Brittany module 2017-05-22 21:25:08 +02:00