set -XOverloadedRecordDot flag instead of using RecordDotProcessor
This commit is contained in:
parent
e5079ea634
commit
d5edcdcbd5
3 changed files with 3 additions and 4 deletions
2
Makefile
2
Makefile
|
|
@ -13,7 +13,7 @@ HOOGLE_PORT=8081
|
|||
hoogle:
|
||||
hoogle server --local --port $(HOOGLE_PORT) > /dev/null &
|
||||
|
||||
FORMAT_EXTENSIONS := -o -XQuasiQuotes -o -XTemplateHaskell -o -XTypeApplications -o -XImportQualifiedPost -o -XPatternSynonyms -o -fplugin=RecordDotPreprocessor
|
||||
FORMAT_EXTENSIONS := -o -XQuasiQuotes -o -XTemplateHaskell -o -XTypeApplications -o -XImportQualifiedPost -o -XPatternSynonyms -o -XOverloadedRecordDot
|
||||
format:
|
||||
find -name '*.hs' -not -path './dist-*/*' | xargs fourmolu $(FORMAT_EXTENSIONS) -m inplace
|
||||
git ls-tree -r HEAD --full-tree --name-only | grep -E '.*\.nix' | xargs nixfmt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue