[xmonad] Trouble getting modular setup to compile

Frank Terbeck ft at bewatermyfriend.org
Sun Dec 30 23:44:04 CET 2012

Hello Adam,

adam vogt wrote:
> On Sun, Dec 30, 2012 at 4:35 PM, Frank Terbeck <ft at bewatermyfriend.org> wrote:
>> xmonad --recompile
>> Error detected while loading xmonad configuration file: /home/hawk/.xmonad/xmonad.hs
>> lib/XMonad/Config/FT/Layouts.hs:19:23:
>>     No instance for (XMonad.Layout.LayoutModifier.LayoutModifier
>>                        FullscreenFull a0)
> All your type errors involve some type variables like `a0' above that
> eventually become Window when the definition is used in your config.
> You could try adding {-# LANGUAGE NoMonomorphismRestriction #-} to the
> top of lib/XMonad/Config/FT/Layouts.hs. I think that will stop ghc
> from trying to fix a given `a0' when compiling your Layouts.hs

This fixed it. Thanks a lot! :-)

Regards, Frank

More information about the xmonad mailing list