mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00: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