
12 Nov
2007
12 Nov
'07
2:31 p.m.
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