-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [x] add fourmolu - [x] add hlint - [x] add justfile
- Loading branch information
Showing
6 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
comma-style: leading | ||
function-arrows: leading | ||
import-export-style: leading | ||
fixities: | ||
- infixr 9 . | ||
- infixr 5 ++ | ||
- infixl 4 <$, <$> | ||
- infixl 2 >>, >>= | ||
- infixr 2 =<<, <=< | ||
- infixr 1 $, $! | ||
- infixl 4 <*>, <*, *>, <**> | ||
- infixl 6 ^. | ||
- infixl 3 =. | ||
haddock-style: single-line | ||
in-style: left-align | ||
indent-wheres: false | ||
indentation: 4 | ||
let-style: auto | ||
newlines-between-decls: 1 | ||
record-brace-space: false | ||
respectful: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
default: | ||
just list | ||
|
||
install-tools: | ||
cabal update | ||
cabal install fourmolu-0.13.1.0 hlint-3.6.1 apply-refact \ | ||
--install-method=copy --overwrite-policy=always | ||
|
||
format: | ||
fourmolu -i lib | ||
|
||
lint: | ||
hlint lib | ||
|
||
build0: | ||
cabal build -v0 -O0 -j fine-types | ||
|
||
test: | ||
cabal test -v0 -O0 -j unit | ||
|
||
repl: | ||
cabal repl -v0 -O0 -j | ||
|
||
prepare: format lint build0 test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module Language.FineTypes where | ||
module Language.FineTypes () where |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import Prelude | ||
|
||
main :: IO () | ||
main = putStrLn "Test suite not yet implemented" |