simonmar at microsoft.com
Fri Feb 3 08:43:15 EST 2006
On 03 February 2006 00:40, John Meacham wrote:
> On Thu, Feb 02, 2006 at 06:19:43PM -0600, Taral wrote:
>> Got a unicode-compliant compiler?
> sure do :)
> but it currently doesn't recognize any unicode characters as possible
> operators. which it should, but I am just not sure how to specify that
> yet until some sort of standard develops. Once there are more unicode
> compliant compilers out there something will evolve probably. Right
> now I am thinking of being able to add a PRAGMA to force some
> characters to be interpreted as operators just so that they can start
> being used now, even though there isn't a standard set you can count
> on yet.
GHC treats the Unicode categories Sm, Sc, Sk and So as symbols, FWIW.
These are the same characters for which Data.Char.isSymbol returns True.
How do you implement the Data.Char predicates in jhc, BTW?
More information about the Haskell-prime