Examples #56
Annotations
1 error and 2 warnings
hlint
HLint failed with status: 1. Warning (1)
|
hlint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, haskell/actions/hlint-setup@v2, haskell/actions/hlint-run@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
hlint:
src/Semantics/PartialEvaluator.hs#L85
Warning in partial in module Semantics.PartialEvaluator: Redundant if ▫︎ Found: "if canonical t2' then\n if canonical t1' then\n do f <- function t1'\n partial ns (f t2')\n else\n return $ Application t1' t2' a\nelse\n return $ Application t1' t2' a" ▫︎ Perhaps: "(if canonical t2' && canonical t1' then\n (do f <- function t1'\n partial ns (f t2'))\n else\n return $ Application t1' t2' a)"
|