[Haskell-cafe] Re: Allowing hyphens in identifiers

Dan Doel dan.doel at gmail.com
Wed Dec 9 05:14:10 EST 2009


On Wednesday 09 December 2009 4:54:15 am Maciej Piechotka wrote:
> You mean to parse a - b differently then a-b? You don't have the problem
> in LISP as AFAIR you use (- a b) but in Haskell it would be a problem.
> 
> About unicode - if something looks the same it should be parsed the
> same. I mean - we have already had problem historically with tab vs.
> spaces (vide Make).
> 
> BTW. You can always use hello_world.

hello'world is also an option.

I'm a fan of hyphens in names, as well (I use them in Agda, where there's no 
naming distinction for operators), but I don't really expect it to happen in 
Haskell.


More information about the Haskell-Cafe mailing list