[xmonad] Can't use any of the contrib modules

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Mon Sep 19 10:18:44 CEST 2011


On 19 September 2011 18:03, Anthony Campbell <ac at acampbell.org.uk> wrote:

> import XMonad
>
>    import XMonad.Layout.Tabbed
>    import XMonad.Layout.Accordion
>    import XMonad.Layout.NoBorders
>
>    mylayoutHook = Full ||| noBorders (tabbed shrinkText defaultTConf) ||| Accordion
>
>    main = xmonad $ defaultConfig { layoutHook = mylayoutHook }
> -------------------------------------------------
>
> But recompiling gives an error:
>
> xmonad.hs:3:5: parse error on input `import'

What's above that?

If you're indenting all of your definitions, you need to indent the
"import XMonad" line as well.

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the xmonad mailing list