1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 23:06:49 +02:00

Merge pull request #3477 from whitemuu/master

[lambda-calculus/en] markdown syntax issue
This commit is contained in:
Divay Prakash
2019-02-24 23:23:57 +05:30
committed by GitHub

View File

@@ -139,6 +139,7 @@ Take the church number 2 for example:
`2 = λf.λx.f(f x)` `2 = λf.λx.f(f x)`
For the inner part `λx.f(f x)`: For the inner part `λx.f(f x)`:
``` ```
λx.f(f x) λx.f(f x)
= S (λx.f) (λx.(f x)) (case 3) = S (λx.f) (λx.(f x)) (case 3)
@@ -147,6 +148,7 @@ For the inner part `λx.f(f x)`:
``` ```
So: So:
``` ```
2 2
= λf.λx.f(f x) = λf.λx.f(f x)
@@ -156,6 +158,7 @@ So:
``` ```
For the first argument `λf.(S (K f))`: For the first argument `λf.(S (K f))`:
``` ```
λf.(S (K f)) λf.(S (K f))
= S (λf.S) (λf.(K f)) (case 3) = S (λf.S) (λf.(K f)) (case 3)
@@ -164,6 +167,7 @@ For the first argument `λf.(S (K f))`:
``` ```
For the second argument `λf.(S (K f) I)`: For the second argument `λf.(S (K f) I)`:
``` ```
λf.(S (K f) I) λf.(S (K f) I)
= λf.((S (K f)) I) = λf.((S (K f)) I)
@@ -174,6 +178,7 @@ For the second argument `λf.(S (K f) I)`:
``` ```
Merging them up: Merging them up:
``` ```
2 2
= S (λf.(S (K f))) (λf.(S (K f) I)) = S (λf.(S (K f))) (λf.(S (K f) I))