mirror of
https://github.com/Bodigrim/tasty-bench.git
synced 2024-11-27 12:43:34 +03:00
Fix hlint suggestions
This commit is contained in:
parent
ce734706a9
commit
a6096c6342
@ -1 +1,2 @@
|
|||||||
- ignore: {name: "Use lambda-case"}
|
- ignore: {name: "Use lambda-case"}
|
||||||
|
- ignore: {name: "Redundant if"}
|
||||||
|
@ -1242,7 +1242,7 @@ svgRender pairs = header ++ concat (zipWith
|
|||||||
pairs) ++ footer
|
pairs) ++ footer
|
||||||
where
|
where
|
||||||
dropAllPrefix
|
dropAllPrefix
|
||||||
| all ("All." `isPrefixOf`) (map fst pairs) = drop 4
|
| all (("All." `isPrefixOf`) . fst) pairs = drop 4
|
||||||
| otherwise = id
|
| otherwise = id
|
||||||
|
|
||||||
l = genericLength pairs
|
l = genericLength pairs
|
||||||
|
Loading…
Reference in New Issue
Block a user