title: Haskell: anonymous function with two arguments
body: <p>I have the following anonymous function:</p>
  
  <pre><code>(\x y -&gt; y+y) (5*(7+20))
  </code></pre>
  
  <p>As far as I understand anonymous functions, x should be (5*(7+20)) and y is not given (which is where it gets fishy). When I try to execute that function, GHCI tells me the return value is</p>
  
  <pre><code>Integer -&gt; Integer
  </code></pre>
  
  <p>So obviously my interpretation is wrong here and I just can't see why. Can anyone explain to me what is happening here?</p>