All hints

All files

Report generated by HLint v3.1.6 - a tool to suggest improvements to your Haskell code.

dist-newstyle/src/helio-157a2fc26d319c83/hs/test/HelVM/HelIO/Collections/MapListSpec.hs:50:11-112: Suggestion: Reduce duplication
Found
it "mapListToList . fromIntIndexedList"
  $ (mapListToList . fromIntIndexedList) input `shouldBe` output
it "I.toList      . fromIntIndexedList"
  $ (I.toList . fromIntIndexedList) input `shouldBe` output
it "LL.toList     . fromIntIndexedList"
  $ (LL.toList . fromIntIndexedList) input `shouldBe` output
Perhaps
Combine with dist-newstyle/src/helio-157a2fc26d319c83/hs/test/HelVM/HelIO/Collections/MapListSpec.hs:59:11-112
hs/app/AppOptions.hs:(64,1)-(66,55): Warning: Redundant lambda
Found
calculatorParams
  = \ o
      -> case calculatorType o of
           Lambda -> Params.Lambda (lambdaType o) (ilType o)
           Combinators -> Params.Combinators (combinatorsType o)
Perhaps
calculatorParams o
  = case calculatorType o of
      Lambda -> Params.Lambda (lambdaType o) (ilType o)
      Combinators -> Params.Combinators (combinatorsType o)
hs/app/Main.hs:(25,1)-(28,55): Warning: Redundant lambda
Found
runApp
  = \ o
      -> do hSetBuffering stdout IO.NoBuffering
            source <- readSourceFile (App.exec o) (App.file o)
            run (App.printLogs o) (App.calculatorParams o) source
Perhaps
runApp o
  = do hSetBuffering stdout IO.NoBuffering
       source <- readSourceFile (App.exec o) (App.file o)
       run (App.printLogs o) (App.calculatorParams o) source
hs/app/Main.hs:(35,1)-(36,61): Warning: Redundant lambda
Found
run
  = \ printLogs calculatorParams source
      -> controlTToIO printLogs (evalSource calculatorParams source)
Perhaps
run printLogs calculatorParams source
  = controlTToIO printLogs (evalSource calculatorParams source)
hs/src/HelVM/HelTC/Calculators/Combinators/Zot/Calculator.hs:30:39-58: Suggestion: Redundant bracket
Found
wGetContentsText >>= (evalWithFormat t s)
Perhaps
wGetContentsText >>= evalWithFormat t s