forked from input-output-hk/ouroboros-leios
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfourmolu.yaml
More file actions
17 lines (17 loc) · 759 Bytes
/
fourmolu.yaml
File metadata and controls
17 lines (17 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
indentation: 2
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
diff-friendly-import-export: true # 'false' uses Ormolu-style lists
respectful: true # don't be too opinionated about newlines etc.
haddock-style: single-line # '--' vs. '{-'
newlines-between-decls: 1 # number of newlines between top-level declarations
single-constraint-parens: never # whether or not to put braces around single constraints: https://fourmolu.github.io/config/single-constraint-parens/
fixities:
- infixr 0 $
- infixr 1 &
- infixl 3 <|>
- infixr 3 &&
- infixl 1 <&>
- infixl 4 <$>
- infixl 4 <*>