Fix hlint suggestions

This commit is contained in:
Bodigrim 2021-04-20 20:28:34 +01:00
parent ce734706a9
commit a6096c6342
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1,2 @@
- ignore: {name: "Use lambda-case"}
- ignore: {name: "Redundant if"}

View File

@ -1242,7 +1242,7 @@ svgRender pairs = header ++ concat (zipWith
pairs) ++ footer
where
dropAllPrefix
| all ("All." `isPrefixOf`) (map fst pairs) = drop 4
| all (("All." `isPrefixOf`) . fst) pairs = drop 4
| otherwise = id
l = genericLength pairs