[Haskell-cafe] Useful: putCharLn {inspire by the Int->[Char] thread

Henk-Jan van Tuyl hjgtuyl at chello.nl
Sat Aug 19 15:56:38 EDT 2006

On Sat, 19 Aug 2006 19:21:36 +0200, Gene A <yumagene at gmail.com> wrote:

> Prelude> putStrLn $ (head "this and that"):[]

Or you could use:
   putStrLn [head "This and that"]

Met vriendelijke groet,
Henk-Jan van Tuyl


Using Opera's revolutionary e-mail client:

More information about the Haskell-Cafe mailing list