
On Monday 12 November 2007 08:31:14 Dominik Bruhn wrote:
Hy, thanks all for your answers, I tried the following Config (based uppon the one from Sjannen in the wiki: See attachment
The problem is the following error-message uppon compiling: ---- snip ----- xmonad.hs:18:1: Ambiguous type variable `m' in the constraint: `Monad m' arising from use of `return' at xmonad.hs:18:1-6 Possible cause: the monomorphism restriction applied to the following: dominikConfig :: m (XConfig (Choose Tall (Choose (Mirror Tall) Full))) (bound at xmonad.hs:17:0) Probable fix: give these definition(s) an explicit type signature or use -fno-monomorphism-restriction --------------
Who can help me and give me a hint how to fix this error?
Thanks Dominik
Attached is a file that you can save to ~/.xmonad/xmonad.hs. Cheers, Spencer Janssen