mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
Generalize the type of (<+>). It can be used for keybindings too.
This commit is contained in:
parent
a16bb44934
commit
d5aadf2538
@ -37,8 +37,8 @@ liftX = Query . lift
|
|||||||
idHook :: ManageHook
|
idHook :: ManageHook
|
||||||
idHook = doF id
|
idHook = doF id
|
||||||
|
|
||||||
-- | Compose two 'ManageHook's.
|
-- | Infix 'mappend'. Compose two 'ManageHook' from right to left.
|
||||||
(<+>) :: ManageHook -> ManageHook -> ManageHook
|
(<+>) :: Monoid m => m -> m -> m
|
||||||
(<+>) = mappend
|
(<+>) = mappend
|
||||||
|
|
||||||
-- | Compose the list of 'ManageHook's.
|
-- | Compose the list of 'ManageHook's.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user