Report generated by HLint v3.5 - a tool to suggest improvements to your Haskell code.
hs/app/AppOptions.hs:(64,1)-(66,55): Warning: Redundant lambda
Found
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
Found
runApp = \ o -> do hSetBuffering stdout IO.NoBuffering source <- readSourceFile (App.exec o) (App.file o) run (App.printLogs o) (App.calculatorParams o) sourcePerhaps
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
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:34:43-118: Warning: Functor law
Found
Found
(makeAsciiText28 <$> convert <$> evalInternal source) <$> showExpressionListPerhaps
((makeAsciiText28 <$> convert) . evalInternal source <$> showExpressionList)
hs/src/HelVM/HelTC/Calculators/Combinators/Zot/Calculator.hs:34:44-94: Warning: Functor law
Found
Found
makeAsciiText28 <$> convert <$> evalInternal sourcePerhaps
makeAsciiText28 . convert <$> evalInternal source
hs/src/HelVM/HelTC/Calculators/Combinators/Zot/Calculator.hs:40:8-49: Warning: Functor law
Found
Found
execWriter <$> runExpressionList <$> parsePerhaps
execWriter . runExpressionList <$> parse
hs/src/HelVM/HelTC/Calculators/Lambda/DefinitionExpander.hs:30:55-113: Warning: Use mapM
Found
Found
sequence (expandDefinitionByMap m <$> removeDefinitions il)Perhaps
mapM (expandDefinitionByMap m) (removeDefinitions il)