From de108826480c232b504d1fa0583c4e2e140117a6 Mon Sep 17 00:00:00 2001 From: jim Date: Sat, 7 Feb 2015 20:09:50 -0500 Subject: [PATCH] add Church encodings --- topics/_assignment2.mdwn | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/topics/_assignment2.mdwn b/topics/_assignment2.mdwn index e223cd1c..bacd676e 100644 --- a/topics/_assignment2.mdwn +++ b/topics/_assignment2.mdwn @@ -163,7 +163,10 @@ Numbers 26. Given that we've agreed to Church's encoding of the numbers: - BLAH + 0 ≡ \f z. z + 1 ≡ \f z. f z + 2 ≡ \f z. f (f z) + 3 ≡ \f z. f (f (f z)) + ... How would you express the `succ` function in the Lambda Calculus? - -- 2.11.0