
Thanks, I'll read through this and try to figure it out when I get a chance (maybe later today). In the meantime I get a compile error: jefdaj@acro:~/.xmonad$ ghc --make OnlyFor.hs [1 of 1] Compiling XMonad.Layout.OnlyFor ( OnlyFor.hs, OnlyFor.o ) OnlyFor.hs:60:64: `m' is applied to too many type arguments In the type signature for `onlyFor': onlyFor :: HowMany -> m -> l a -> ModifiedLayout (OnlyFor (m a)) l a If I comment out the type signature and load it in GHCI it guesses this: onlyFor :: HowMany -> m -> l a -> XMonad.Layout.LayoutModifier.ModifiedLayout (OnlyFor m) l a Does that look reasonable? m is One | Multiple, l is the LayoutModifier and a is the Layout right? Jeff On 08/27/2012 08:28 AM, Brandon Allbery wrote:
On Mon, Aug 27, 2012 at 11:12 AM, Brandon Allbery
mailto:allbery.b@gmail.com> wrote: I've attached the current version; it compiles but is not tested in practice. It should be clear enough how to extend it to support other values than One and Multiple.
Except I forgot to actually attach it...
-- brandon s allbery allbery.b@gmail.com mailto:allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms