title: how to combine map and replicate on an array of integers
body: <p>For a school exercise i need to generate a series of symbols with a given array of numbers. given is  <code>[3,3,2,1]</code> output <code>"+===+===+==+=+"</code>.
  My approach would be to use <code>map</code> and <code>replicate</code> "=" on the array then <code>intercalate</code> "+" and finally <code>concat</code> the array to a single string.</p>
  
  <p>My solution is something like this (while standing knee deep in errors)</p>
  
  <pre><code>printLine arr = map (replicate "=") arr &gt;&gt;&gt; intercalate '*' &gt;&gt;&gt; concat
  </code></pre>
  
  <p>what is the correct syntax? or shouldn't i use map at all?</p>