Skip to content

detupled dynamic

detupled dynamic #87

Triggered via push September 22, 2024 07:37
Status Failure
Total duration 4m 36s
Artifacts

haskell-ci.yml

on: push
Matrix: build

Annotations

4 errors and 11 warnings
ormolu
Ormolu detected unformatted files
hlint
HLint failed with status: 1. Warning (14), Suggestion (45)
GHC 9.6 on ubuntu-latest: src/NumHask/Array/Shape.hs#L842
Not in scope: ‘List.!?’
GHC 9.6 on ubuntu-latest
Process completed with exit code 1.
hlint: src/NumHask/Array/Dynamic.hs#L655
Suggestion in colWise in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "rank a - (S.rank xs)" ▫︎ Perhaps: "rank a - S.rank xs"
hlint: src/NumHask/Array/Dynamic.hs#L715
Suggestion in drop in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(getDim d (shape a)) - abs t" ▫︎ Perhaps: "getDim d (shape a) - abs t"
hlint: src/NumHask/Array/Dynamic.hs#L1494
Suggestion in cycle in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(`mod` (size a))" ▫︎ Perhaps: "(`mod` size a)"
hlint: src/NumHask/Array/Dynamic.hs#L1737
Suggestion in transmitOp in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(shape a) `List.isPrefixOf` (shape b)" ▫︎ Perhaps: "shape a `List.isPrefixOf` (shape b)"
hlint: src/NumHask/Array/Dynamic.hs#L1737
Suggestion in transmitOp in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(shape a) `List.isPrefixOf` (shape b)" ▫︎ Perhaps: "(shape a) `List.isPrefixOf` shape b"
hlint: src/NumHask/Array/Dynamic.hs#L1738
Suggestion in transmitOp in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(shape b) `List.isPrefixOf` (shape a)" ▫︎ Perhaps: "shape b `List.isPrefixOf` (shape a)"
hlint: src/NumHask/Array/Dynamic.hs#L1738
Suggestion in transmitOp in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(shape b) `List.isPrefixOf` (shape a)" ▫︎ Perhaps: "(shape b) `List.isPrefixOf` shape a"
hlint: src/NumHask/Array/Dynamic.hs#L1889
Warning in invtri in module NumHask.Array.Dynamic: Functor law ▫︎ Found: "fmap (pow l) (fmap fromIntegral $ range [n])" ▫︎ Perhaps: "fmap (pow l . fromIntegral) (range [n])"
hlint: src/NumHask/Array/Dynamic.hs#L1889
Suggestion in invtri in module NumHask.Array.Dynamic: Use <$> ▫︎ Found: "fmap fromIntegral $ range [n]" ▫︎ Perhaps: "fromIntegral <$> range [n]"
hlint: src/NumHask/Array/Dynamic.hs#L1890
Suggestion in invtri in module NumHask.Array.Dynamic: Use head ▫︎ Found: "shape a !! 0" ▫︎ Perhaps: "head (shape a)"
GHC 9.6 on ubuntu-latest: src/NumHask/Array/Dynamic.hs#L8
unrecognised warning flag: -Wno-x-partial