brittany v0.10.0.0 Release Notes
Release Date: 2018-03-01 // about 6 years ago-
- Implement module/exports/imports layouting (thanks to sniperrifle2004)
- ๐ฆ Expose config paths/parsing functions (thanks to Alexey Raga)
- ๐ Bugfixes:
- Fix layouting of
NOINLINE
pragma - Fix ticked type operator (e.g.
':-
) losing tick (#125) - Fix alignment issue with cases involving operators (#65)
- Fix comments in tuples being dropped (#37)
- Fix comment placements with let-in (#110)
- Fix layouting of
- Layouting changes:
- Align arguments only if it is the same function being called (#128)
- Do not use single-line layout when infix operator expression contains comments (#111)
- ๐ New layouting config items:
lconfig_importColumn
/--import-col
: column for import itemslconfig_importAsColumn
/--import-as-col
: column for the "as" name of a modulelconfig_reformatModulePreamble
: controls module/export/import layouting (default True)lconfig_allowSingleLineExportList
: permit one-line module header, e.g.module Main (main)
(default False)