Comment Syntax

Thomas Davie tatd2 at kent.ac.uk
Mon Jan 30 08:56:03 EST 2006


On 30 Jan 2006, at 13:51, Ulf Norell wrote:

>
> On Jan 30, 2006, at 1:30 PM, Neil Mitchell wrote:
>
>> Another argument in favour of this is that most editors with syntax
>> hilighting will show --> as a comment, which again increases the
>> confusion factor.
>
> I would rather argue that since we have editors with syntax  
> highlighting, this isn't a big problem. The editor will tell you  
> (if the highlighting is implemented correctly) that --> does not  
> start a comment. Rather than changing the language we should fix  
> the highlighting modes for the editors in question.

Except that there is a good reason (pos two) why the language is  
wrong - it's inconsistant with the other comment syntax, and it's  
confusing to newbies.

Bob


More information about the Haskell-prime mailing list