[Haskell-cafe] Unicode silliness

Clinton Mead clintonmead at gmail.com
Thu Jul 13 15:20:55 UTC 2017


And also:

> foo (›’-’)› bar = False

should be

> foo ›(’-’)› bar = False

I'd suggest ensuring your code compiles without the unicode first, before
trying to add the unicode symbols, so you can be sure it's the unicode
causing the problem.

On Fri, Jul 14, 2017 at 1:17 AM, David Turner <dct25-561bs at mythic-beasts.com
> wrote:

>
> On 13 July 2017 at 16:13, Clinton Mead <clintonmead at gmail.com> wrote:
>
>> I think MarLinn was highlighting that this line:
>> > foo ‹(’-’‹) bar = False
>>
>> Should read like this:
>>
> > foo ‹(’-’)‹ bar = False
>>
>
> That doesn't seem to help, unfortunately. It says:
>
> > Main.hs:1:5: error: lexical error at character '\8249'
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170714/d1465f12/attachment.html>


More information about the Haskell-Cafe mailing list