darcs patch: doLayout cleanup and commented exception-handling.

Sat Jun 9 07:50:36 PDT 2007 David Roundy

On Sat, 09 Jun 2007 08:04:37 -0700
David Roundy
Sat Jun 9 07:50:36 PDT 2007 David Roundy
* 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])) Cheers, Spencer Janssen

On Sat, Jun 09, 2007 at 12:25:49PM -0500, Spencer Janssen wrote:
On Sat, 09 Jun 2007 08:04:37 -0700 David Roundy
wrote: Sat Jun 9 07:50:36 PDT 2007 David Roundy
* 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
participants (3)
-
David Roundy
-
dons@cse.unsw.edu.au
-
Spencer Janssen