Use GHC 9.10 #197
Annotations
2 errors and 4 warnings
fourmolu
fourmolu detected unformatted files
|
hlint
HLint failed with status: 1. Warning (2), Suggestion (2)
|
hlint:
app/Main.hs#L145
Suggestion in deploymentOsOption in module Main: Use lambda-case ▫︎ Found: "\\ string\n -> case string of\n \"all\" -> Just AllOS\n os -> Just $ OS (Text.pack os)" ▫︎ Perhaps: "\\case\n \"all\" -> Just AllOS\n os -> Just $ OS (Text.pack os)" ▫︎ Note: may require `{-# LANGUAGE LambdaCase #-}` adding to the top of the file
|
hlint:
app/Main.hs#L152
Suggestion in deploymentArchOption in module Main: Use lambda-case ▫︎ Found: "\\ string\n -> case string of\n \"all\" -> Just AllArchs\n arch -> Just $ Arch (Text.pack arch)" ▫︎ Perhaps: "\\case\n \"all\" -> Just AllArchs\n arch -> Just $ Arch (Text.pack arch)" ▫︎ Note: may require `{-# LANGUAGE LambdaCase #-}` adding to the top of the file
|
hlint:
test/Confer/EvaluatorTest.hs#L1
Warning in module Confer.EvaluatorTest: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE QuasiQuotes #-}"
|
hlint:
test/Confer/EvaluatorTest.hs#L11
Warning in module Confer.EvaluatorTest: Use fewer imports ▫︎ Found: "import Effectful.FileSystem ( FileSystem )\nimport Effectful.FileSystem qualified as FileSystem\nimport Effectful.FileSystem\n" ▫︎ Perhaps: "import Effectful.FileSystem qualified as FileSystem\nimport Effectful.FileSystem\n"
|