[Xmonad] darcs patch: doLayout cleanup and commented
exception-handling.
David Roundy
droundy at darcs.net
Sat Jun 9 13:27:45 EDT 2007
On Sat, Jun 09, 2007 at 12:25:49PM -0500, Spencer Janssen wrote:
> On Sat, 09 Jun 2007 08:04:37 -0700
> David Roundy <droundy at darcs.net> wrote:
>
> > Sat Jun 9 07:50:36 PDT 2007 David Roundy <droundy at darcs.net>
> > * doLayout cleanup and commented exception-handling.
>
> We don't need to handle any exceptions here, the type of 'layouts'
> guarantees that 'l' is always valid.
>
> layouts :: !(M.Map WorkspaceId (Layout, [Layout]))
No, the exceptions would come when doLayout is called. That's a
user-defined function which could be buggy.
--
David Roundy
http://www.darcs.net
More information about the Xmonad
mailing list