On Nov 20, 2007 10:06 AM, David Roundy <droundy@darcs.net> wrote:
On Tue, Nov 20, 2007 at 07:01:19AM -0800, David Roundy wrote:
> On Mon, Nov 19, 2007 at 09:54:06PM -0500, Brent Yorgey wrote:
> > As seen on xmonad@!  A module which allows you to configure layouts
> > per-workspace.  Testing, comments, criticisms, edits, etc. welcome.

I'd also add that I think it'd be handy to be able to give a list of
WorkspaceId rather than just one, so we could say

onWorkspaces ["web","email","irc"] mytabbed $
onWorkspaces ["darcs","xmonad"] (mytabbed <-//> mytabbed ||| mytabbed) $
Full

That'd be a stupid set of layouts, but you can see the idea:  most users
will have two or three sets of layouts, max, and will want to divy them up
among their workspaces.

I thought of this, but the problem is the types.  What should the type of onWorkspaces be?  If you try to write this function, you get an infinite type error.  Unless there's some tricky type-hacking that can be done to get around it.

-Brent