| Using C conventions, the character "\n" is a escape seguence for a newline 
| (ascii code 0x0A) that should advance the cursor to the next line. But hugs
| is printing a slash and the letter n.

As Alastair has already mentioned, this behaviour is documented
in the Hugs manual.  I thought I'd just add that this specific
point is also covered in the list of frequently asked questions
(http://haskell.systemsz.cs.yale.edu/hugs/hugsfaq.html) under
the title "Why doesn't Hugs print strings the way I expect?"

Hope this helps,
Mark

Reply via email to