[Xmonad] darcs patch: fix bug leading to early exit in XPrompt.

Andrea Rossato mailing_list at istitutocolli.org
Tue Aug 28 13:51:48 EDT 2007


On Tue, Aug 28, 2007 at 10:08:58AM -0400, David Roundy wrote:
> You're welcome! Basically, I just used the printf approach, combined with
> code review, in which I just searched for cases where eventLoop might have
> exited early.  There's got to be a better idiom for writing an event loop.
> (so that exiting the loop is done explicitly, rather than
> implicitly... which would make it harder to exit the loop accidentally.)

yes, indeed. Since I suspect you already have an idea on how the idiom
should look like, may I ask you:  
- what would you suggest? -
;-)

Andrea


More information about the Xmonad mailing list