mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-11 09:14:39 +02:00
[lambda-calculus] propose correction for ADD (#3407)
[lambda-calculus] propose correction for ADD
This commit is contained in:
@@ -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!
|
||||
|
||||
|
Reference in New Issue
Block a user