[Haskell-cafe] Unicode silliness
clintonmead at gmail.com
Thu Jul 13 15:13:20 UTC 2017
I think MarLinn was highlighting that this line:
> foo ‹（’-’‹） bar = False
Should read like this:
> foo ‹（’-’）‹ bar = False
On Fri, Jul 14, 2017 at 1:03 AM, David Turner <dct25-561bs at mythic-beasts.com
> On 13 July 2017 at 12:58, MarLinn <monkleyon at gmail.com> wrote:
>> foo （›’-’）› bar = False
>>> Main.hs:1:5: error: lexical error at character '\65288'
> Yes, brackets, but why is this a problem?
> I found this code  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?
>  https://github.com/ghc/ghc/blob/49012ebc9ed44a0b1f8de3781e15c8
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe