title: In Haskell how can you multiply a string?
body: <p>I'm trying to write a function that takes a <code>String</code> and an <code>Int</code> and returns that string "int" times. That is:</p>
  
  <pre><code>duplicate :: String -&gt; Int -&gt; String
  </code></pre>
  
  <p>If I were to write <code>duplicate "Hello" 3</code> the output should be <code>"HelloHelloHello"</code>.</p>