Skip to content

test linear

test linear #38

Triggered via push August 12, 2024 13:24
Status Failure
Total duration 13s
Artifacts

hlint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
hlint
HLint failed with status: 1. Warning (3), Suggestion (1)
hlint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, haskell/actions/hlint-setup@v2, haskell/actions/hlint-run@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
hlint: src/Demo/Client.hs#L20
Warning in toLinear in module Demo.Client: Eta reduce ▫︎ Found: "toLinear f = Unsafe.toLinear f" ▫︎ Perhaps: "toLinear = Unsafe.toLinear"
hlint: src/Demo/Client.hs#L24
Warning in toLinear3 in module Demo.Client: Eta reduce ▫︎ Found: "toLinear3 f = Unsafe.toLinear3 f" ▫︎ Perhaps: "toLinear3 = Unsafe.toLinear3"
hlint: src/Demo/Client.hs#L42
Warning in rev in module Demo.Client: Eta reduce ▫︎ Found: "rev xs = revApp [] xs" ▫︎ Perhaps: "rev = revApp []"
hlint: src/Demo/Client.hs#L46
Suggestion in revApp in module Demo.Client: Use foldl ▫︎ Found: "revApp acc [] = acc\nrevApp acc (y : ys) = revApp (y : acc) ys" ▫︎ Perhaps: "revApp acc ys = foldl (flip (:)) acc ys"