[Haskell-cafe] Re: Allowing hyphens in identifiers

Jon Fairbairn jon.fairbairn at cl.cam.ac.uk
Wed Dec 9 04:36:57 EST 2009

Deniz Dogan <deniz.a.m.dogan at gmail.com> writes:

> 2009/12/8 Jon Fairbairn <jon.fairbairn at cl.cam.ac.uk>:
>> Deniz Dogan <deniz.a.m.dogan at gmail.com> writes:
>>> [...] allow hyphens in identifiers, much like in Lisp
>>> languages? E.g. hello-world would be a valid function name.
>> I (among others) suggested it right at the beginning when we
>> were first defining the lexical syntax
> I just like the standard Lisp naming convention better than camel
> casing and saw someone on #haskell mentioning it the other day. No
> biggie though.

I prefer it too, but as far as Haskell is concerned, it's one of
those things that's not really worth changing at this stage of
its life. Changing the syntactic category of Unicode HYPHEN
(U+2010) might still be possible, but someone (with more stamina
than me) would have to advocate it.

Jón Fairbairn                                 Jon.Fairbairn at cl.cam.ac.uk

More information about the Haskell-Cafe mailing list