
9 Jan
2008
9 Jan
'08
5:48 p.m.
On Wed, Jan 09, 2008 at 10:23:05PM +0100, Wolfgang Jeltsch wrote:
Am Mittwoch, 9. Januar 2008 18:34 schrieb Cetin Sert:
Neither appending "{-# OPTIONS_GHC -fglasgow-exts -xunicodesyntax #-}"
First, I think, you have to use -XUnicodeSyntax (as Don said), and not -xunicodesyntax. Second, -XUnicodeSyntax only enables alternative notation for certain built-in syntax (as Don said).
Unicode for operators is a different matter. I’d think, it should work out of the box and wonder a bit why it doesn’t.
The give-away is that GHC gave a "UTF-8 decoding error". This says that Cetin is using a different encoding, presumably (due to his mention of Visual Haskell, ergo Windows) UTF-16. Stefan