Changes between Version 2 and Version 3 of LineCommentSyntax


Ignore:
Timestamp:
Nov 18, 2009 10:49:28 AM (6 years ago)
Author:
simonmar@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LineCommentSyntax

    v2 v3  
    1717  comment -> dashes [ any<symbol|:> {any} ] newline
    1818}}}
     19
     20During the committee discussion for Haskell 2010, a better fix was suggested by Ross Paterson, namely to move ':' into `symbol` instead:
     21
     22{{{
     23    comment ->      dashes [ any<symbol> {any}] newline
     24    graphic ->      small | large | symbol | digit | special | " | '
     25    symbol  ->      ascSymbol | uniSymbol<special | _ | " | '>
     26    varsym  ->      ( symbol<:> {symbol})<reservedop | dashes>
     27    consym  ->      (: {symbol})<reservedop>
     28}}}