[Haskell-cafe] Re: Re: Re: Allowing hyphens in identifiers

Maciej Piechotka uzytkownik2 at gmail.com
Wed Dec 9 21:17:07 EST 2009


On Wed, 2009-12-09 at 15:54 -0800, Gregory Crosswhite wrote:
> On Dec 9, 2009, at 3:24 PM, Maciej Piechotka wrote:
> 
> > On Thu, 2009-12-10 at 11:54 +1300, Richard O'Keefe wrote:
> > - Composition: In which first letters are not capitalized
> > 
> > In combination of those I belive there is no disambiguoty since the
> > lower case words functions as terminators. 
> 
> Except for data constructors, which are a special class of functions that start with capital letters;  this where an ambiguity can (and does) crop up that is resolved by the spacing rule.
> 
> Cheers,
> Greg

You're right. However it is still rather rare case comparing to the use
of - I belive. Epsecially that with - we already have sufficiently
complicated paring rules [($), ($a), (a$) where $ is any operator except
- vs. -]

Regards




More information about the Haskell-Cafe mailing list