Lambda gay

lambda gay
Lambda calculus codifies the correct way to do these substitutions. Given that y = x−1 is a valid rearrangement of the second equation, this: λ y = x−1 means a function substituting the symbols x−1 for the symbol y. Now imagine applying λ y to each term in the first equation. If a term is y then perform the substitution; otherwise do.
Here is another really good reference which explains very well what are lambda expressions in C++: : Lambda expressions in C++. I especially like how well it explains the parts of a lambda expression, in particular: the capture clause, parameter list, trailing-return-type, and lambda body.
Lambda is an anonymous function in Python programming language, instead of bearing a def statement in the front it is simply called and written lambda. def mult2(x).
I saw some examples using built-in functions like sorted, sum etc. that use key=lambda. What does lambda mean here? How does it work? For the general computer science concept of a lambda, see What.