>>>>> "Alex" == S Alexander Jacobson <[EMAIL PROTECTED]> writes:
Alex> Just to confirm, What is the official handling of:
>> main = putStr " ---------- Hello World ---------------- "
Alex> and
>> main = putStr " {- this is not a comment -} "
in both cases the scanner is inside of a String literal, where it just
gobbles up characters and decodes \-escapes. So both are vailed and do
not contain comments.
Otherwise, you could not write programs that generate commented
programs but you probably want to do that.
-peter
- 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
- Re: Haskell 98 progress... Graeme Moss
