<div dir="ltr">I think MarLinn was highlighting that this line:<div><font face="monospace, monospace"><br></font></div><div><span style="font-size:12.8px"><font face="monospace, monospace">> foo ‹(’-’‹) bar = False</font></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Should read like this:</span></div><div><span style="font-size:12.8px"><br></span></div><div><font face="monospace, monospace"><span style="font-size:12.8px">> foo ‹(’-’)</span><span style="font-size:12.8px">‹</span><span style="font-size:12.8px"> bar = False</span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 14, 2017 at 1:03 AM, David Turner <span dir="ltr"><<a href="mailto:dct25-561bs@mythic-beasts.com" target="_blank">dct25-561bs@mythic-beasts.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On 13 July 2017 at 12:58, MarLinn <span dir="ltr"><<a href="mailto:monkleyon@gmail.com" target="_blank">monkleyon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_-3130185374200725967gmail-">
foo (›’-’)› bar = False<br>
<br></span><span class="m_-3130185374200725967gmail-">
Main.hs:1:5: error: lexical error at character '\65288'<br>
</span></blockquote>
<br>
Brackets.<br></blockquote><div><br></div></span><div>Yes, brackets, but why is this a problem?</div><div><br></div><div>I found this code [1] in GHC which seems like it might be relevant. Is it? It seems to suggest that classes Pc, Pd, Po, Sm, Sc, Sk and So are allowed in infix names, but Ps, Pe, Pi and Pf are not. Am I reading that right?</div><div><br></div><div>[1] <a href="https://github.com/ghc/ghc/blob/49012ebc9ed44a0b1f8de3781e15c8115d3074f8/compiler/parser/Lexer.x#L2013" target="_blank">https://github.com/ghc/ghc/<wbr>blob/<wbr>49012ebc9ed44a0b1f8de3781e15c8<wbr>115d3074f8/compiler/parser/<wbr>Lexer.x#L2013</a></div><div><br></div><div>Cheers,<br></div><div><br></div><div>David</div><div><br></div><div><br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
Only members subscribed via the mailman list are allowed to post.<br></blockquote></div><br></div>