Indeed there is a built in function, aptly named print.
> print [1,2,3]
[1,2,3]
This is equivalent to putStrLn $ show [1,2,3].
Indeed there is a built in function, aptly named print.
> print [1,2,3]
[1,2,3]
This is equivalent to putStrLn $ show [1,2,3].