[Haskell-cafe] Re: Allowing hyphens in identifiers

Deniz Dogan deniz.a.m.dogan at gmail.com
Tue Dec 8 05:53:54 EST 2009


2009/12/8 Jon Fairbairn <jon.fairbairn at cl.cam.ac.uk>:
> Deniz Dogan <deniz.a.m.dogan at gmail.com> writes:
>
>> Has there been any serious suggestion or attempt to change the syntax
>> of Haskell to 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, and have raised the
> possibility again a couple of times now that unicode hyphens are
> available, but it wasn't liked at the beginning and hasn't
> excited much interest since.  Why do you want them?
>

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.

-- 
Deniz Dogan


More information about the Haskell-Cafe mailing list