[Haskell-cafe] message passing style like in Haskell?

Ian Lynagh igloo at earth.li
Sat Jun 21 13:10:28 EDT 2008


On Fri, Jun 20, 2008 at 07:57:58AM +0200, Ketil Malde wrote:
> "Albert Y. C. Lai" <trebla at vex.net> writes:
> 
> >> While we are kind of on this topic, what makes the characters ħ þ
> >> prefix operator by default, while º and most other odd ones infix?
> 
> > alphanumeric vs non-alphanumeric
> 
> Testing this, I find that isAlpha is True also for 'º', but as the OP
> claims, Haskell will use it as a(n infix) symbol.

This is a bug in GHC. The characters <= '\255' were done specially, but
incorrectly for many of those >= '\128'. I'll fix it, probably by just
removing the specialisation for them.


Thanks
Ian



More information about the Haskell-Cafe mailing list