Weix, Rachel Lynn wrote:

> How do I print something in Haskell, i.e. if I want to print what a
> certain variable contains, etc.?  (Synomous to cout> in C++, printf in
> C, System.out.println in Java, display in Scheme, etc.)

Use "putStrLn" to print a string; use "show" to convert a value to a
string.

See:
        http://www.haskell.org/tutorial/io.html

for more information about I/O in Haskell.

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to