mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-13 18:24:39 +02:00
Fixes lambda calculus evaluation formula by fixing associativity
This commit is contained in:
@@ -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>`
|
||||
|
||||
|
Reference in New Issue
Block a user