Skip to content

working on diff

working on diff #80

Triggered via push August 22, 2024 08:55
Status Failure
Total duration 7m 39s
Artifacts

haskell-ci.yml

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

Annotations

2 errors and 11 warnings
hlint
HLint failed with status: 1. Warning (14), Suggestion (16)
ormolu
Ormolu detected unformatted files
hlint: src/NumHask/Array/Dynamic.hs#L1525
Suggestion in cycle in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(`mod` (size a))" ▫︎ Perhaps: "(`mod` size a)"
hlint: src/NumHask/Array/Dynamic.hs#L1774
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#L1774
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#L1775
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#L1775
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#L1919
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#L1919
Suggestion in invtri in module NumHask.Array.Dynamic: Use <$> ▫︎ Found: "fmap fromIntegral $ range [n]" ▫︎ Perhaps: "fromIntegral <$> range [n]"
hlint: src/NumHask/Array/Dynamic.hs#L1920
Suggestion in invtri in module NumHask.Array.Dynamic: Use head ▫︎ Found: "shape a !! 0" ▫︎ Perhaps: "head (shape a)"
hlint: src/NumHask/Array/Fixed.hs#L4
Warning in module NumHask.Array.Fixed: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE PatternSynonyms #-}"
hlint: src/NumHask/Array/Fixed.hs#L1138
Suggestion in tails in module NumHask.Array.Fixed: Redundant where ▫︎ Found: "where"
GHC 9.6 on ubuntu-latest: src/NumHask/Array/Dynamic.hs#L8
unrecognised warning flag: -Wno-x-partial