title: Printing elements of a list on new lines
body: <p>I am trying to print the elements of my list onto new lines, but i cant get it to work;</p>
  
  <pre><code>printElements :: [String] -&gt; IO()
  printElements (x:xs) =  print x (some kind of newline, then loop?) printElements xs
  </code></pre>
  
  <p>So this:</p>
  
  <pre><code>["1","2","2","4"]
  </code></pre>
  
  <p>would give: </p>
  
  <pre><code>1
  2
  3
  4
  </code></pre>