summaryrefslogtreecommitdiffhomepage
path: root/lambda-calculus.html.markdown
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2019-02-17 02:35:34 +0530
committerGitHub <noreply@github.com>2019-02-17 02:35:34 +0530
commit1980272c4f37eae54f3b704e3fce2ba8fab00ecf (patch)
tree7c5e035238b70514c20063267e2b36dcc3dda084 /lambda-calculus.html.markdown
parentcbcb987c53ad68e12326c5f7994fc7cfde028a18 (diff)
parent34b2ab3a8b8ab345193585fd686e2ddbf6d36169 (diff)
[lambda-calculus] propose correction for ADD (#3407)
[lambda-calculus] propose correction for ADD
Diffstat (limited to 'lambda-calculus.html.markdown')
-rw-r--r--lambda-calculus.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/lambda-calculus.html.markdown b/lambda-calculus.html.markdown
index 3d080de7..8343d62a 100644
--- a/lambda-calculus.html.markdown
+++ b/lambda-calculus.html.markdown
@@ -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!