[Haskell-cafe] Problems with Unicode Symbols as Infix Function Names in Propositional Calculus Haskell DSL

Stefan O'Rear stefanor at cox.net
Wed Jan 9 17:48:55 EST 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080109/bcbcc3ce/attachment.bin


More information about the Haskell-Cafe mailing list