[ANN] brittany-0.9.0.0 (on both hackage&stackage)

- Implement `IndentPolicyLeft`: A layouting setting that disables "hanging indentation". This indentation mode may become default in the future. Only configurable via config-file for the time being. - (!) commandline interface is reworked slightly to support multiple inputs/outputs (`brittany --write-mode=inplace *.hs`). This removes the --input/--output flags. - Ensure compatibility with stackage - Change default global config path (old configs are still respected) - Improve support for per-project config - Fix several bugs and Improve language extension support full changelog at https://hackage.haskell.org/package/brittany-0.9.0.0/changelog brittany was recently added to stackage, and should hopefully be included in the next LTS release. -- lennart

Contains one big new feature: - Implement module/exports/imports layouting (thanks to sniperrifle2004) See an example of how modules are layouted at https://github.com/lspitzner/brittany/blob/master/doc/showcases/Module.md or try it in the browser at https://hexagoxel.de/brittany/ further (since 0.9.0.1, which was not announced separately): - Support `TupleSections` (thanks to Matthew Piziak) - One important bugfix: Retain strictness patterns (!/~). This bug was a bit more serious as it did not lead to errors and had the potential to silently change source code. - ~10 other bugfixes and changes to the layouting. See the full changelog at https://hackage.haskell.org/package/brittany-0.10.0.0/changelog. This release does not bring compatibility with ghc-8.4 yet. As a consequence I believe that it will not land in stackage for the time being, so stackage users will either have to be patient or install manually by cloning the github repository (https://github.com/lspitzner/brittany). -- lennart
participants (1)
-
lennart spitzner