unicode characters in operator name

Daniel Fischer daniel.is.fischer at web.de
Fri Sep 10 21:39:13 EDT 2010

On Saturday 11 September 2010 03:12:11, Greg wrote:
> If I read the Haskell Report correctly, operators are named by (symbol
> {symbol | : }), where symbol is either an ascii symbol (including *) or
> a unicode symbol (defined as any Unicode symbol or punctuation).  I'm
> pretty sure º is a unicode symbol or punctuation.


Prelude Data.Char> generalCategory 'º'

weird, but that's how it is. If it were a symbol or punctuation, you 
couldn't use it in function names like fº.

More information about the Glasgow-haskell-users mailing list