[Haskell-cafe] Richer (than ascii) notation for haskell source?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed May 14 22:46:26 EDT 2008

On 2008 May 14, at 22:40, Richard A. O'Keefe wrote:

>> I still suspect it would not be outside the pale to make λ a  
>> keyword.  We already have several, after all.
> I'd rather not have to write \x as λ x with a space required after  
> the λ.
> I suspect that "λ is the lambda-symbol iff it is not preceded by any
> identifier character and is not followed by a Greek letter" might  
> work.

Adjacent different scripts in general is probably a reasonable token  
discriminator.  A "token" combining LTR and RTL, for example, is just  
confusing.  (Japanese might need to be an exception; I don't know if  
ideographs and romanji are ever mixed at the word level.)

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

More information about the Haskell-Cafe mailing list