Apply hlint 3.3 hints

This commit is contained in:
Tomas Janousek
2021-11-04 20:39:39 +00:00
parent e7f102bc9a
commit 5aff766a4c
20 changed files with 32 additions and 36 deletions

View File

@@ -239,7 +239,7 @@ removeDeleted z = filterZ_ (`elemZ` z)
findNewWindows :: Eq a => [a] -> Zipper (Group l a)
-> (Zipper (Group l a), [a])
findNewWindows as gs = (gs, foldrZ_ removePresent as gs)
where removePresent g as' = filter (not . flip elemZ (gZipper g)) as'
where removePresent g = filter (not . flip elemZ (gZipper g))
-- | Add windows to the focused group. If you need to create one,
-- use the given layout and an id from the given list.