[Haskell-cafe] Richer (than ascii) notation for haskell source?
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Wed May 14 15:19:23 EDT 2008
On 2008 May 14, at 15:00, Andrew Coppin wrote:
> Brandon S. Allbery KF8NH wrote:
>> On 2008 May 14, at 14:32, Andrew Coppin wrote:
>>> Personally, I'd just like to be able to get rid of "->", "\" and
>>> other such hacks. Would it be possible to amend GHC so that it
>>> accepts "->" and [whatever the Unicode codepoint for "left arrow"
>>> is] and treats both the same?
>> Both of those are already there, along with some others. It's been
>> discussed here but I can't find it in the 6.8.2 manual.... (boo,
>> hiss) -XUnicodeSyntax
> Mmm, I can see I'm going to have to test this... [That is, just as
> soon as I figure out how to even type in obscure Unicode symbols...]
Unfortunately, while I thought there was a distinct lambda sign that
wasn't the lowercase Greek letter, there isn't. (That said, I don't
see why it couldn't be a keyword. You'd need a space after it.)
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