I am reading a textbook for my next semester just for fun. I didn't study so hard during the high school so I have missed out many vital information.
1) What is λ -calculus and λ (in calculus)?
2) The text book illustrates if there is a function i.e. f(1) and f(2) the equation is 2, 3 because f(x) = x + 1
But the books says "This declaration combines the description of the function for adding one, and its naming as f . The issues can be separated by considering nameless functions, using the Greek letter λ instead of the symbol f and rearranging the syntax to produce
λ x.x+1 .
Now the definition of f above can be rewritten as
f =λ x.x+1
I can't understand how λ x.x+1 came from f(x) = x+1. I understand that they are trying to give the function a name.
I hope you have understood my question. Thank you.
Thanks in advance.