summaryrefslogtreecommitdiff
path: root/lambda-calcul/haskell/fourmolu.yaml
blob: a2cc9149333c8ed029511fcb8f8e6235bd4a8871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 2 ||
  - infixr 3 &&
  - infixl 1 <&>
  - infixl 4 <$>
  - infixl 4 <*>