mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 12:32:09 +03:00
Fixes lambda calculus evaluation formula by fixing associativity
This commit is contained in:
parent
215d688c06
commit
3a48077c16
@ -55,7 +55,7 @@ Although lambda calculus traditionally supports only single parameter
|
||||
functions, we can create multi-parameter functions using a technique called
|
||||
[currying](https://en.wikipedia.org/wiki/Currying).
|
||||
|
||||
- `(λx.λy.λz.xyz)` is equivalent to `f(x, y, z) = x(y(z))`
|
||||
- `(λx.λy.λz.xyz)` is equivalent to `f(x, y, z) = ((x y) z)`
|
||||
|
||||
Sometimes `λxy.<body>` is used interchangeably with: `λx.λy.<body>`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user