
Hi Brandon, Thanks for the quick reply, I had tried that but had the opening bracket to the right of the "Tall" instead of to the left! So now I don't get any parsing errors, but neither do I have any tabs. I have Tall, Mirror Tall and Full, just like before.... Any further pointer? Thanks again, Stefan On Fri, Jan 25, 2013 at 03:20:09PM -0500, Brandon Allbery wrote:
On Fri, Jan 25, 2013 at 3:13 PM, Stefan Pynappels <[1]stefan.pynappels@sptechnical.co.uk> wrote:
myLayout = ( Tall 1 (1/2) (3/100) ||| Mirror Tall ||| simpleTabbed )
Notice that Tall takes 3 parameters, but you're then using it again without any parameters under control of Mirror.  The error message is complaining about the missing parameters; this tends to look a bit odd in Haskell, because sometimes that's an entirely legitimate thing to do --- just, not here. Usually we abstract that out to look something like   myLayout = tall ||| Mirror tall ||| simpleTabbed    where     tall = Tall 1 (1/2) (3/100) but if you prefer to do it inline then you'll want   myLayout = Tall 1 (1/2) (3/100) ||| Mirror (Tall 1 (1/2) (3/100)) ||| simpleTabbed -- brandon s allbery kf8nh                sine nomine associates [2]allbery.b@gmail.com                  [3]ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad     [4]http://sinenomine.net
References
1. mailto:stefan.pynappels@sptechnical.co.uk 2. mailto:allbery.b@gmail.com 3. mailto:ballbery@sinenomine.net 4. http://sinenomine.net/