title: Function is applied to too few arguments in haskell
body: <p>I just started learning haskell and i'm not able to solve this issue. Can someone tell me why i get error that <code>g</code> is applied to too few arguments in the code below.</p>
  
  <pre><code>f :: Int -&gt; Int
  f first  = 5+first
  
  g :: Int -&gt; Int -&gt; Int
  g  first second = first+second
  
  
  compute :: (Int -&gt; Int) -&gt; (Int -&gt; Int -&gt; Int) -&gt; Int -&gt; Int -&gt; Int
  compute f g x y = (f . g) x y
  </code></pre>