Skip to content

upto findNoOverlap

upto findNoOverlap #81

Triggered via push August 24, 2024 01:22
Status Failure
Total duration 5m 55s
Artifacts

haskell-ci.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
ormolu
Ormolu detected unformatted files
hlint
HLint failed with status: 1. Warning (15), Suggestion (24)
hlint: src/NumHask/Array/Dynamic.hs#L726
Suggestion in drop in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(S.unsafeGetIndex d (shape a)) - abs t" ▫︎ Perhaps: "S.unsafeGetIndex d (shape a) - abs t"
hlint: src/NumHask/Array/Dynamic.hs#L1503
Suggestion in cycle in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(`mod` (size a))" ▫︎ Perhaps: "(`mod` size a)"
hlint: src/NumHask/Array/Dynamic.hs#L1752
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#L1752
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#L1753
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#L1753
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#L1897
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#L1897
Suggestion in invtri in module NumHask.Array.Dynamic: Use <$> ▫︎ Found: "fmap fromIntegral $ range [n]" ▫︎ Perhaps: "fromIntegral <$> range [n]"
hlint: src/NumHask/Array/Dynamic.hs#L1898
Suggestion in invtri in module NumHask.Array.Dynamic: Use head ▫︎ Found: "shape a !! 0" ▫︎ Perhaps: "head (shape a)"
hlint: src/NumHask/Array/Fixed.hs#L790
Suggestion in takeB in module NumHask.Array.Fixed: Avoid lambda ▫︎ Found: "\\ s\n -> modifyDim\n (valueOf @d)\n (\\ x -> x + (unsafeGetIndex (valueOf @d) (shape a)) - (valueOf @t))\n s" ▫︎ Perhaps: "modifyDim\n (valueOf @d)\n (\\ x -> x + (unsafeGetIndex (valueOf @d) (shape a)) - (valueOf @t))"
GHC 9.6 on ubuntu-latest: src/NumHask/Array/Dynamic.hs#L8
unrecognised warning flag: -Wno-x-partial