Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is a function?

Mathematically a function is a mapping from an input domain to an output domain. In the Lambda calculus a function is essentially a tuple of a variable name and a body lambda expression. Applying the function to an argument lambda expression gives you the body expression, where all ocurrences of the variable name are replaced with the argument expression. Essentially, the function can be understood as an replacement rule.

I do not understand what you mean with "special".



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: