[xmonad] darcs patch: Applicative instance for X; new startupHook

Brent Yorgey byorgey at gmail.com
Sun Feb 24 14:55:41 EST 2008


On Sun, Feb 24, 2008 at 2:17 PM, Don Stewart <dons at galois.com> wrote:

> This looks good. How does the startuphook differ from running code in
> main? It's easier for extensions to register hooks?
>

Well, the main reason is that this way, the startupHook can be run in the X
monad, AFTER xmonad has initialized all its state and so forth.  Running
code in main would only be able to run in IO.

-Brent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20080224/722e83c2/attachment.htm


More information about the xmonad mailing list