AsSingleton pre-removal #86
Annotations
1 error and 10 warnings
|
src/NumHask/Array/Dynamic.hs#L726
Suggestion in drop in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(S.getDim d (shape a)) - abs t" ▫︎ Perhaps: "S.getDim d (shape a) - abs t"
|
src/NumHask/Array/Dynamic.hs#L1506
Suggestion in cycle in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(`mod` (size a))" ▫︎ Perhaps: "(`mod` size a)"
|
src/NumHask/Array/Dynamic.hs#L1755
Suggestion in transmitOp in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(shape a) `List.isPrefixOf` (shape b)" ▫︎ Perhaps: "shape a `List.isPrefixOf` (shape b)"
|
src/NumHask/Array/Dynamic.hs#L1755
Suggestion in transmitOp in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(shape a) `List.isPrefixOf` (shape b)" ▫︎ Perhaps: "(shape a) `List.isPrefixOf` shape b"
|
src/NumHask/Array/Dynamic.hs#L1756
Suggestion in transmitOp in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(shape b) `List.isPrefixOf` (shape a)" ▫︎ Perhaps: "shape b `List.isPrefixOf` (shape a)"
|
src/NumHask/Array/Dynamic.hs#L1756
Suggestion in transmitOp in module NumHask.Array.Dynamic: Redundant bracket ▫︎ Found: "(shape b) `List.isPrefixOf` (shape a)" ▫︎ Perhaps: "(shape b) `List.isPrefixOf` shape a"
|
src/NumHask/Array/Dynamic.hs#L1900
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])"
|
src/NumHask/Array/Dynamic.hs#L1900
Suggestion in invtri in module NumHask.Array.Dynamic: Use <$> ▫︎ Found: "fmap fromIntegral $ range [n]" ▫︎ Perhaps: "fromIntegral <$> range [n]"
|
src/NumHask/Array/Dynamic.hs#L1901
Suggestion in invtri in module NumHask.Array.Dynamic: Use head ▫︎ Found: "shape a !! 0" ▫︎ Perhaps: "head (shape a)"
|
src/NumHask/Array/Fixed.hs#L835
Suggestion in takeB in module NumHask.Array.Fixed: Avoid lambda ▫︎ Found: "\\ s\n -> modifyDim\n (int d) (\\ x -> x + (getDim (int d) (shape a)) - (int t)) s" ▫︎ Perhaps: "modifyDim (int d) (\\ x -> x + (getDim (int d) (shape a)) - (int t))"
|
The logs for this run have expired and are no longer available.
Loading