I have the following anonymous function:
(\x y -> y+y) (5*(7+20))
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
Integer -> Integer
So obviously my interpretation is wrong here and I just can't see why. Can anyone explain to me what is happening here?