>>>>> "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


Reply via email to