I have a simple list like this:
qlist = ["ll", "kkkkkkk", "ddddd"]
Why is it OK to do this:
qwrap [] = putStrLn ":"
qwrap (a:as) = do
putStrLn a
qwrap as
qwap qlist
but not this:
map putStrLn qlist
What is going on in the map function?
McQueen