mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-26 09:21:00 +03:00
[lambda-calculus] propose correction for ADD (#3407)
[lambda-calculus] propose correction for ADD
This commit is contained in:
commit
1980272c4f
@ -111,7 +111,7 @@ we use the successor function `S(n) = n + 1` which is:
|
||||
|
||||
Using successor, we can define add:
|
||||
|
||||
`ADD = λab.(a S)n`
|
||||
`ADD = λab.(a S)b`
|
||||
|
||||
**Challenge:** try defining your own multiplication function!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user