mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
X.U.ExtensibleConf: Fix typo in docs
This commit is contained in:
parent
95b37a9ab2
commit
ba43dc6c7e
@ -62,7 +62,7 @@ import qualified Data.Map as M
|
||||
-- > newtype MyConf = MyConf{ fromMyConf :: [Int] } deriving Semigroup
|
||||
-- >
|
||||
-- > customLogger :: Int -> XConfig l -> XConfig l
|
||||
-- > customLogger i = XC.once (MyConf [i]) $ \c -> c{ logHook = logHook c <> lh }
|
||||
-- > customLogger i = XC.once (\c -> c{ logHook = logHook c <> lh }) (MyConf [i])
|
||||
-- > where
|
||||
-- > lh :: X ()
|
||||
-- > lh = XC.with $ io . print . fromMyConf
|
||||
|
Loading…
x
Reference in New Issue
Block a user