mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
markdown syntax issue
This commit is contained in:
parent
1980272c4f
commit
ef11bde030
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user