01 02 03 04 05 06 01 02 03 04 05 06 07 08 09 10 11 12 13 14 ← →
module Main where
We now want to output several lines of text. The simplest approach is to output a multiline string.
main ∷ IO () main = putStr "hello\nthere\nworld\n"
hello there world