Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjimmy committed Apr 14, 2024
1 parent 13380d1 commit 54b50d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _posts/2024-04-13-y-combinator_and_functional-programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ substitute variable y with R we get
```

which means apply the 2nd **(λx.R(xx))** to 1st **(λx.R(xx))**, and we get

> 而该结果表示调用(λx.R(xx)),参数为(λx.R(xx)),因此我们可以得到下列结果
```
Expand Down Expand Up @@ -119,6 +120,7 @@ To better understand the above example, please note that **y** function is exact
```

For `(fib 3)` in haskell, if transalted to lambda calculus, we are doing

> 让我们尝试来调用haskell的(fib 3)
**fib 3** =**y r 3** = **r (y r) 3**
Expand Down

0 comments on commit 54b50d9

Please sign in to comment.