-
Notifications
You must be signed in to change notification settings - Fork 0
/
fourmolu.yaml
33 lines (33 loc) · 1.02 KB
/
fourmolu.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
indentation: 4
comma-style: leading # for lists, tuples etc. - can also be 'trailing'
record-brace-space: false # rec {x = 1} vs. rec{x = 1}
indent-wheres: false # 'false' means save space by only half-indenting the 'where' keyword
respectful: true # don't be too opinionated about newlines etc.
haddock-style: multi-line # '--' vs. '{-'
haddock-style-module: multi-line
newlines-between-decls: 1 # number of newlines between top-level declarations
import-export-style: leading
let-style: auto
in-style: right-align
fixities:
- infixr 9 .
- infixl 8 .:, .:?, .=
- infixr 8 ?~, .~, ^?
- infixr 6 <>
- infixl 5 .=
- infixr 5 ++
- infixl 4 <$>, <$, $>, <*>, <*, *>, <**>, <<$>>, <&>
- infix 4 ==, /=
- infixr 4 :>
- infixl 3 <|>
- infixr 3 &&
- infixl 2 :>
- infixr 2 ||
- infixl 1 &, >>, >>=, :-
- infix 1 =?
- infixr 1 =<<, >=>, <=<
- infixr 0 $, $!
unicode: never
column-limit: none # Disclaimer: enabling column-limit breaks idempotence in a few cases.
function-arrows: trailing
single-constraint-parens: never