title: why can't I mix two primitives in a function?
body: <p>I am trying out Haskell following <a href="http://yannesposito.com/Scratch/en/blog/Haskell-the-Hard-Way/" rel="nofollow">'Haskell the hardway'</a> and I am stuck at understanding the basic type system. I have the following code and the haskell is complaining it can't process the function.</p>
  
  <pre><code>f3 :: Num -&gt; Int -&gt; Num
  f3 x y = x + y
  </code></pre>
  
  <p>I take it, it has to do something with currying or the basic model where haskell converts f x y to (f x) y but if I want to pass and Int to Y, can I do it? if I can how would I do it?</p>