<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 12, 2014 at 6:34 PM, Carsten Mattner <span dir="ltr"><<a href="mailto:carstenmattner@gmail.com" target="_blank">carstenmattner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Sep 12, 2014 at 9:04 PM, Brandon Allbery <<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>> wrote:<br>
> On Fri, Sep 12, 2014 at 3:02 PM, Carsten Mattner <<a href="mailto:carstenmattner@gmail.com">carstenmattner@gmail.com</a>><br>
> wrote:<br>
>><br>
>> xmonad --recompile stopped working here this week and fails with scope<br>
>> errors<br>
>> in stuff from xmonadcontrib. Anyone else see this?<br>><br>
> Are you running it in a cabal sandbox, by any chance?<br>
<br>
</span>No and I ran "cabal clean" before compiling and purge ~/.ghc and ~/.cabal.<br>
WIll test again tomorrow to rule out user failure<br>
</blockquote></div><br>The other thing that commonly goes wrong is mismatched versions; if your xmonad and xmonad-contrib are different versions, you will either get errors about one being missing (ghc caught it and refused to use the incompatible one) or bizarre typeclass mismatches (ghc didn't catch it, but the compiled typeclass references a different version than ghc found/used). One subclass of this is having multiple versions of either xmonad or xmonad-contrib installed, which can lead ghc to use the wrong one or occasionally try to use both versions (if you have stuff in ~/.xmonad/lib, such that some things compile against one and some the other).<br clear="all"><div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>