title: Syntax in Functions (Expected kind `* -> Constraint', but `Int' has kind `*')
body: <p>I'm starting to learn Haskell and I'm struggling with syntax in Functions. I'm trying to create a function that receives a Number 'e' and a Number 'n', returning a list with of 'n' times 'e'.</p>
  <p>Example: <code>repn 3 5</code> would return <code>[3,3,3,3,3]</code>:</p>
  <pre><code>repn :: Int a =&gt; a -&gt; a -&gt; [a]
  repn e n
      | n &gt;= 1 = (take n (repeat e))
      | otherwise = []
  </code></pre>
  <p>But I'm getting this error:</p>
  <pre><code>* Expected kind `* -&gt; Constraint', but `Int' has kind `*'
      * In the type signature: replica :: Int a =&gt; a -&gt; a
  </code></pre>