Maybe a bug

Ch. A. Herrmann herrmann@infosun.fmi.uni-passau.de
Thu, 14 Dec 2000 16:19:19 +0100 (MET)


Hi,

    Francisco> When I use, for instance, the string "something\n\n" the
    Francisco> result is "something\n\n" and doesn't make a
    Francisco> newline. With \t is the same problem.

the effect of the control characters depends on the context of use.

If they are used with "putStr", it works (with February2000 hugs),
example:

Main> putStr "First\tLine\nNext\t\tLine"
First   Line
Next            Line
Main>

Good luck
-- 
 Christoph Herrmann
 E-mail:  herrmann@fmi.uni-passau.de
 WWW:     http://brahms.fmi.uni-passau.de/cl/staff/herrmann.html