brittany
brittany copied to clipboard
haskell source code formatter
> stack install brittany ``` hashable > /private/var/folders/94/bkkwz0cd7nd2_j_xn2fwr8ph0000gn/T/stack-0ddfdd20f131c516/hashable-1.3.5.0/In file included from /var/folders/94/bkkwz0cd7nd2_j_xn2fwr8ph0000gn/T/ghc48724_0/ghc_20.c:4:0: error: hashable > hashable > hashable > In file included from /Users/me/.stack/programs/aarch64-osx/ghc-9.0.2/lib/ghc-9.0.2/lib/../lib/aarch64-osx-ghc-9.0.2/rts-1.0.2/include/ffi.h:66:0: error: hashable > hashable > hashable...
Early-stage PR, to check whether this kind of copious CPP is agreeable, and to share partial results if those are useful. My intention here is to build with 9.0.\* and...
See below of the before and after of running `brittany --config-file=brittany.yaml --write-mode=inplace $(git ls-files '*.hs')` using the default config on versions 0.14.0.0, and 0.14.0.2. ![before](https://user-images.githubusercontent.com/10566848/159384098-3f23d8a3-8519-47c7-b6fc-25a89093ebb6.jpg) ![after](https://user-images.githubusercontent.com/10566848/159384111-4ed2f882-63d4-4dcc-8aaa-f5be80ba12d8.jpg) As is evident, the...
This Haskell file compiles just fine with ghc 8.10. ```hs {-# LANGUAGE ParallelListComp #-} main = undefined b = undefined c = undefined d = undefined e = undefined a...
Hi, are there any plans for brittany to support OverloadedRecordDot? - Happy user of brittany
Brittany introduces an extra space in `@'Bar`, making it `@ 'Bar`. It handles `@Bar` correctly. This has been happening for a number of versions, but it seems GHC 8.10 has...
(**This is a feature request**) GHC 8.10.1 introduced a new extension called [ImportQualifiedPost](https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/import_qualified_post.html). Basically what it allows is the following syntax: ```Haskell import A qualified import B qualified as C...
According to [docs](https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/pattern_synonyms.html#import-and-export-of-pattern-synonyms) we can add pattern synonyms to export list, but brittany removes it. Test file: ```haskell {-# LANGUAGE PatternSynonyms #-} module Import.Audit.Category.SubjectScheme ( X (.., XA, XB, XC)...
Most recent version of _Brittany_ from `master` (`0aa04af`) fails when _Haddock_ comments are present in list of exported declarations. Here is the example to replicate: ```haskell module Example ( --...
I'm trying to build _brittany_ from `master` using _stack_, so I checked readme and it says to use: > stack install brittany # --resolver lts-16.31 which doesn't seem correct because...