[xmonad] complexity of 'windows'

Roman Cheplyaka roma at ro-che.info
Tue Feb 17 18:12:18 EST 2009


* lowly coder <lowlycoder at huoyanjinjing.com> [2009-02-17 14:39:07-0800]
> I'm looking at the 'windows' function, and do not understand why it's so
> complicated. If it's just WindowSet -> WindowSet ... why is it so long?

windows isn't WindowSet -> WindowSet. It's (WindowSet -> WindowSet) -> X ().
You provide it a function WindowSet -> WindowSet (as simple
as you want) and it then transforms the world according to it.

(other questions seem to be already answered)

-- 
Roman I. Cheplyaka (aka Feuerbach @ IRC)
http://ro-che.info/docs/xmonad.hs


More information about the xmonad mailing list