ci: add aggressive HLint #229
Annotations
1 error and 10 warnings
Run HLint
HLint failed with status: 1. Warning (65), Suggestion (64)
|
Run HLint:
inline-r/src/Data/Vector/SEXP.hs#L24
Warning in module Data.Vector.SEXP: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE DeriveFunctor #-}"
|
Run HLint:
inline-r/src/Data/Vector/SEXP.hs#L27
Warning in module Data.Vector.SEXP: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE GeneralizedNewtypeDeriving #-}"
|
Run HLint:
inline-r/src/Data/Vector/SEXP.hs#L259
Warning in module Data.Vector.SEXP: Use fewer imports ▫︎ Found: "import Control.Exception ( evaluate )\nimport Control.Exception ( mask_ )\n" ▫︎ Perhaps: "import Control.Exception ( evaluate, mask_ )\n"
|
Run HLint:
inline-r/src/Data/Vector/SEXP.hs#L363
Warning in withW in module Data.Vector.SEXP: Eta reduce ▫︎ Found: "withW _ v = W v" ▫︎ Perhaps: "withW _ = W"
|
Run HLint:
inline-r/src/Data/Vector/SEXP.hs#L628
Suggestion in splitAt in module Data.Vector.SEXP: Use bimap ▫︎ Found: "\\ (a, b) -> (unW a, unW b)" ▫︎ Perhaps: "Data.Bifunctor.bimap unW unW" ▫︎ Note: increases laziness
|
Run HLint:
inline-r/src/Data/Vector/SEXP.hs#L798
Suggestion in replicateM in module Data.Vector.SEXP: Avoid lambda using `infix` ▫︎ Found: "(\\ v -> proxyW v p)" ▫︎ Perhaps: "(`proxyW` p)"
|
Run HLint:
inline-r/src/Data/Vector/SEXP.hs#L804
Suggestion in generateM in module Data.Vector.SEXP: Avoid lambda using `infix` ▫︎ Found: "(\\ v -> proxyW v p)" ▫︎ Perhaps: "(`proxyW` p)"
|
Run HLint:
inline-r/src/Data/Vector/SEXP.hs#L1005
Suggestion in mapM in module Data.Vector.SEXP: Use fmap ▫︎ Found: "\\ p -> unW <$> proxyFW (G.mapM f) v p" ▫︎ Perhaps: "(fmap unW . proxyFW (G.mapM f) v)"
|
Run HLint:
inline-r/src/Data/Vector/SEXP.hs#L1017
Suggestion in forM in module Data.Vector.SEXP: Use fmap ▫︎ Found: "\\ p -> unW <$> proxyFW (`G.forM` f) v p" ▫︎ Perhaps: "(fmap unW . proxyFW (`G.forM` f) v)"
|
Run HLint:
inline-r/src/Data/Vector/SEXP.hs#L1279
Suggestion in filterM in module Data.Vector.SEXP: Use fmap ▫︎ Found: "\\ p -> unW <$> proxyFW (G.filterM f) v p" ▫︎ Perhaps: "(fmap unW . proxyFW (G.filterM f) v)"
|
The logs for this run have expired and are no longer available.
Loading