HfT 01 02 03 04 05 06     01 02 03 04 05 06 07 08 09 10 11 12 13 14        

module Main where

unlines does the same thing.

unlines  [String]  String

The type of unlines is less general than that of concat, because unlines adds newline characters, which only makes sense for strings.

main  IO ()
main = putStr $ unlines ["hello", "there", "world"]
hello
there
world

Main.hs