> Come to think of it, that's good: > > {- This is a string "-}" burble -} > > would now not be confused by the quoted -}; the lexeme is > a string not a '-}' thing. I don't understand this remark. Are you telling me that after a '{-' token the usual lexical process is used to find the matching '-}' token? If that is the case (which it didn't use to be AFAIK) the you need to spell out exactly how to lex in comments. I don't want my comments to obey Haskell lexical rules, e.g., this should be allow {- A comment, isn't it? -} despite the unmatched single quote. -- Lennart
- Haskell 98 progress... Simon Peyton-Jones
- Re: Haskell 98 progress... Hans Aberg
- Re: Haskell 98 progress... Jeffrey R. Lewis
- Re: Haskell 98 progress... Hans Aberg
- Re: Haskell 98 progress... Jeffrey R. Lewis
- RE: Haskell 98 progress... Simon Peyton-Jones
- RE: Haskell 98 progress... Lennart Augustsson
- RE: Haskell 98 progress... Simon Peyton-Jones
- Re: Haskell 98 progress... Peter Thiemann
- Re: Haskell 98 progress... Lennart Augustsson
- Re: Haskell 98 progress... Lennart Augustsson
- RE: Haskell 98 progress... Simon Peyton-Jones
- RE: Haskell 98 progress... S. Alexander Jacobson
- Re: Haskell 98 progress... Andreas Rossberg
- Re: Haskell 98 progress... Peter Thiemann
- Re: Haskell 98 progress... Jon . Fairbairn
- Re: Haskell 98 progress... Graeme Moss