<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Dec 24, 2014 at 12:25 PM, jenia.ivlev <span dir="ltr"><<a href="mailto:jenia.ivlev@gmail.com" target="_blank">jenia.ivlev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">That's my error message. (I don't understand why I get undisplayable<br>
characters, like that "a" with the hat).<br></blockquote><div><br></div><div>That looks like Unicode vs. iso8859 confusion. It was trying to print "smart quotes".</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">    Error detected while loading xmonad configuration file: /home/jenia-xmonad/.xmonad/xmonad.hs<br>
    xmonad.hs:8:45: parse error on input â=â<br>
    Please check the file for errors.<br></blockquote><div><br></div><div>The line indicated appears to be</div><div><br></div><div><span style="font-size:12px">        kb = XConfig {XMonad.modMask = modMask} = (modMask, xK_b)</span><br></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">which is in fact incorrect. I suspect it was supposed to be</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">        kb XConfig {XMonad.modMask = modMask} = (modMask, xK_b)</span><span style="font-size:12px"><br></span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">which uses record syntax in a pattern to unpack modMask from an XConfig parameter. You might find it less confusing with parentheses:</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">        kb (XConfig {XMonad.modMask = modMask}) = (modMask, xK_b)</span><span style="font-size:12px"><br></span></div><div><br></div></div>-- <br><div class="gmail_signature"><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></div>