January 2020
Intermediate to advanced
470 pages
11h 13m
English
In lambda calculus terms, a function can look like λx.2*x. The understanding is that the variable after the λ character is the parameter for the function, and the expression after the dot is where you would replace whatever value is passed as an argument. Later in this chapter, we will see that this particular example could be written as x => 2*x in JavaScript in arrow function form, which, as you can see, is very similar in form.
Read now
Unlock full access