Commit Graph

28 Commits (0.12.0.0)

Author SHA1 Message Date
Lennart Spitzner 42f566b94a Support QuasiQuotation-splices 2019-06-12 09:17:21 +02:00
Lennart Spitzner a237e591b2 Implement `--obfuscate`
Support replacing all (non-keyword) identifiers with
randomly generated characters
2018-04-24 00:47:50 +02:00
Lennart Spitzner 18704e403f Fix inline disabling of brittany 2018-04-19 17:09:10 +02:00
Lennart Spitzner 8de56ba11d Support import column vs import-as column 2018-03-21 01:02:44 +01:00
Lennart Spitzner 833ac95fd7 Add two config options to control preamble layouting 2018-03-12 17:11:25 +01:00
Lennart Spitzner 37e355fea5 Support hanging type signature config option 2017-12-28 21:38:31 +01:00
Lennart Spitzner 5a82968a7b Add sub-config-alternative default to lib interface
i.e. `forwardOptionsSyntaxExtsEnabled`
2017-07-04 23:26:13 +02:00
Lennart Spitzner 3784a0123b Refactor exposed function (now parsePrintModule)
- Rename parsePrintModule -> parsePrintModuleTests
- Rename pureModuleTransform -> parsePrintModule
- Change argument type from (CConfig Option) to Config
- Expose CConfig type fully
2017-06-03 18:23:03 +02:00
Lennart Spitzner f350113f7f Refactor all modules: +Internal; Add public Brittany module 2017-05-22 21:25:08 +02:00
Lennart Spitzner 8f1e366f9c Change config file structure; Add config version tag 2017-05-21 16:48:05 +02:00
Lennart Spitzner 6448ee780a Restrict aggressive horizontal alignment (fixes #21)
- Add config values:
  _lconfig_alignmentLimit for roughly "max spaces inserted"
  _lconfig_alignmentBreakOnMultiline for stopping
  alignment after non-singleline-items
2017-05-17 21:34:49 +02:00
Lennart Spitzner 575d530188 Use ExactPrintFallback for unknown constructs
fixes #11
2017-03-06 12:45:19 +01:00
Lennart Spitzner bc70eb07e8 Change config setup(!), Refactor, Update deps
- config now uses foo_bar instead of _foo_bar;
- config now will accept missing keys;
- use latest butcher version;
- improve identity testing by moving into separate file.
2017-01-31 18:43:16 +01:00
Lennart Spitzner cb93a6903c Fix horizontal alignment issue; Add testcases 2016-09-04 14:24:19 +02:00
Lennart Spitzner 9d4192df00 Add another TODO testcase 2016-09-03 23:02:49 +02:00
Lennart Spitzner b03996e401 Apply brittany on parts of its source; Add comments 2016-09-03 23:02:32 +02:00
Lennart Spitzner 3809ba9ef0 Fix some type sig layouting minor issue 2016-09-03 21:50:31 +02:00
Lennart Spitzner d6cf33c3e0 Add testcase for not-yet-fixed pattern problem 2016-09-03 21:36:06 +02:00
Lennart Spitzner 371fad303d Improve column aligning; Add config for aligning 2016-09-02 00:38:56 +02:00
Lennart Spitzner d0fcfc563e Fix if-then-else comment placement issue 2016-08-18 01:14:11 +02:00
Lennart Spitzner e67855fd98 Fix list comprehension comment placement issue 2016-08-18 00:59:12 +02:00
Lennart Spitzner b045c37bbd Fix two column layouting bugs 2016-08-12 15:01:15 +02:00
Lennart Spitzner 46ad20e8f9 Add comment-aware alternative filtering (type sig) 2016-08-12 15:01:15 +02:00
Lennart Spitzner 55709c9b17 Fix do let comment indentation problems 2016-08-12 15:01:14 +02:00
Lennart Spitzner 1a70e4d949 Support --ghc-options; Rework config internals 2016-08-08 17:59:29 +02:00
Lennart Spitzner a1e012eb40 Fix testcases/Add regression tests for latest fixes 2016-08-06 14:16:56 +02:00
Lennart Spitzner e453c292a3 Add some few testsuite cases 2016-08-03 22:13:59 +02:00
Lennart Spitzner 60d1bc5176 Squash previous history 2016-07-30 15:22:07 +02:00