unicode characters in operator name

Brandon S Allbery KF8NH allbery at ece.cmu.edu
Fri Sep 10 21:47:33 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/10/10 21:39 , Daniel Fischer wrote:
> On Saturday 11 September 2010 03:12:11, Greg wrote:
>> a unicode symbol (defined as any Unicode symbol or punctuation).  I'm
>> pretty sure º is a unicode symbol or punctuation.
> 
> Prelude Data.Char> generalCategory 'º'
> LowercaseLetter
> 
> weird, but that's how it is. If it were a symbol or punctuation, you 
> couldn't use it in function names like fº.

"Weird", but that's how Spanish at least treats it; it's a visually distinct
lowercase "o" (along with the visually distinct lowercase "a", "ª") which
indicates gender on an abbreviated ordinal ("primero" => "1º", "primera" =>
"1ª"; by convention they are raised, but "1o"/"1a" are equally valid).

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyK37UACgkQIn7hlCsL25XPcACgmOhZ/0rM05l1/bPQ2EJNLZZS
87UAoIeyBNAefnbctVB0Ld7hrovRX4R5
=Qyau
-----END PGP SIGNATURE-----


More information about the Glasgow-haskell-users mailing list