Is this what you need?
print $ foldl (++) [] [["abc", "cde"], ["fgh", "ghi"]]
-deech
I have a list of lists which all contain strings. [[String]]. I need to figure out how to print them so that after each individual string, there is a new line.
If this is the initial list [["abc", "cde"] ["fgh", "ghi"]]
[["abc"
"cde"]
["fgh",
"ghi"]]
Can anyone help me figure this out? Thanks.
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners