Sorry, forgot about the newline. How's this?<br><br>mapM putStrLn $ concat [["abc", "cde"], ["fgh", "ghi"]]<br><br>-deech<br><br><div class="gmail_quote">On Thu, Oct 22, 2009 at 9:53 PM, aditya siram <span dir="ltr"><<a href="mailto:aditya.siram@gmail.com">aditya.siram@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is this what you need?<br><br><span style="font-family: courier new,monospace;">print $ foldl (++) [] [["abc", "cde"], ["fgh", "ghi"]]</span><br>
<br>-deech<br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Thu, Oct 22, 2009 at 2:11 PM, Chandni Navani <span dir="ltr"><<a href="mailto:chandni_ca@yahoo.com" target="_blank">chandni_ca@yahoo.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
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 o line.<br><br>If this is the initial list [["abc", "cde"] ["fgh", "ghi"]]<br>
[["abc"<br> "cde"]<br> ["fgh",<br> "ghi"]]<br><br>Can anyone help me figure this out? Thanks.<br><br><br><div><span style="font-weight: bold; color: rgb(64, 0, 127);"></span><br>
</div>
</td></tr></tbody></table><br>
<br></div></div>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br>
</blockquote></div><br>