/ fourmolu.yaml
fourmolu.yaml
 1  indentation: 2
 2  comma-style: leading # for lists, tuples etc. - can also be 'trailing'
 3  record-brace-space: false # rec {x = 1} vs. rec{x = 1}
 4  indent-wheres: false # 'false' means save space by only half-indenting the 'where' keyword
 5  diff-friendly-import-export: true # 'false' uses Ormolu-style lists
 6  respectful: true # don't be too opinionated about newlines etc.
 7  haddock-style: single-line # '--' vs. '{-'
 8  newlines-between-decls: 1 # number of newlines between top-level declarations
 9  single-constraint-parens: never # whether or not to put braces around single constraints: https://fourmolu.github.io/config/single-constraint-parens/
10  fixities:
11    - infixr 0 $
12    - infixr 1 &
13    - infixl 3 <|>
14    - infixr 2 ||
15    - infixr 3 &&
16    - infixl 1 <&>
17    - infixl 4 <$>
18    - infixl 4 <*>