summaryrefslogtreecommitdiff
path: root/lambda-calcul/haskell/fourmolu.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'lambda-calcul/haskell/fourmolu.yaml')
-rw-r--r--lambda-calcul/haskell/fourmolu.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/lambda-calcul/haskell/fourmolu.yaml b/lambda-calcul/haskell/fourmolu.yaml
new file mode 100644
index 0000000..a2cc914
--- /dev/null
+++ b/lambda-calcul/haskell/fourmolu.yaml
@@ -0,0 +1,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 <*>