mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 04:01:51 -07:00
Apply hlint 3.3 hints
This commit is contained in:
@@ -164,7 +164,7 @@ applyHints s root (((w,lrect@(Rectangle a b c d)),adj):xs) =
|
||||
$ if isInStack s w then Rectangle a b c' d' else lrect
|
||||
|
||||
ds = (fromIntegral c - fromIntegral c',fromIntegral d - fromIntegral d')
|
||||
growOther' r = growOther ds lrect (freeDirs root lrect) r
|
||||
growOther' = growOther ds lrect (freeDirs root lrect)
|
||||
mapSnd f = map (first $ second f)
|
||||
next = applyHints s root $ mapSnd growOther' xs
|
||||
in (w,redr):next
|
||||
|
Reference in New Issue
Block a user