Recursion infinie #63
Annotations
1 error and 10 warnings
Run HLint
HLint failed with status: 1. Warning (7), Suggestion (3)
|
Run HLint:
LobsterLang/src/Parse.hs#L48
Suggestion in Parser in module Parse: Use newtype instead of data ▫︎ Found: "data Parser a\n = Parser {runParser :: Position\n -> String -> Either String (a, String, Position)}" ▫︎ Perhaps: "newtype Parser a\n = Parser {runParser :: Position\n -> String -> Either String (a, String, Position)}" ▫︎ Note: decreases laziness
|
Run HLint:
LobsterLang/src/Parse.hs#L209
Warning in parseElem in module Parse: Use const ▫︎ Found: "\\ x _ -> x" ▫︎ Perhaps: "const"
|
Run HLint:
LobsterLang/src/Vm.hs#L36
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
|
Run HLint:
LobsterLang/src/Vm.hs#L46
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
|
Run HLint:
LobsterLang/src/Vm.hs#L56
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
|
Run HLint:
LobsterLang/src/Vm.hs#L60
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
|
Run HLint:
LobsterLang/src/Vm.hs#L64
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
|
Run HLint:
LobsterLang/src/Vm.hs#L77
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
|
Run HLint:
LobsterLang/src/Vm.hs#L209
Suggestion in exec in module Vm: Redundant bracket ▫︎ Found: "(head stack) == BoolVal True" ▫︎ Perhaps: "head stack == BoolVal True"
|
Run HLint:
LobsterLang/src/Vm.hs#L217
Suggestion in exec in module Vm: Redundant bracket ▫︎ Found: "(head stack) == BoolVal False" ▫︎ Perhaps: "head stack == BoolVal False"
|
The logs for this run have expired and are no longer available.
Loading