hPutStrLn package:xmonad-contrib

The same as hPutStr, but adds a newline character.