[xmonad] Problem getting simpleTabbed to work.

Stefan Pynappels stefan.pynappels at sptechnical.co.uk
Fri Jan 25 21:59:45 CET 2013


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 at 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 at gmail.com                               Â
>    Â [3]ballbery at sinenomine.net
>    unix, openafs, kerberos, infrastructure, xmonad     Â
>    Â [4]http://sinenomine.net
> 
> References
> 
>    1. mailto:stefan.pynappels at sptechnical.co.uk
>    2. mailto:allbery.b at gmail.com
>    3. mailto:ballbery at sinenomine.net
>    4. http://sinenomine.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130125/b0c3a14a/attachment.pgp>


More information about the xmonad mailing list