[Xmonad] MonadPlus instance for X?
David Roundy
droundy at darcs.net
Sat Jun 9 10:53:51 EDT 2007
Hi all,
I'm wondering if there's a reasonable way to implement a MonadPlus instance
for X? And would there be support for this? I was thinking that it would be
good to implement some sort of exception handling, so that we could make
xmonad robust even in the presence of programming errors in the user's
Config file.
I'm thinking that use of StateT etc together with exceptions must be an
already-studied case...
See patch I'm about to send, for example of where I'd like to use this (but
commented out, so it'll compile).
--
David Roundy
http://www.darcs.net
More information about the Xmonad
mailing list