mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
fixed Hskell typo, should be Haskell
This commit is contained in:
parent
48c94cc9d6
commit
21c5c22f3f
@ -230,7 +230,7 @@ f(x + 5)
|
|||||||
f(6)
|
f(6)
|
||||||
```
|
```
|
||||||
|
|
||||||
另一种意见是"传名调用"(call by name),即直接将表达式`x + 5`传入函数体,只在用到它的时候求值。Hskell语言采用这种策略。
|
另一种意见是"传名调用"(call by name),即直接将表达式`x + 5`传入函数体,只在用到它的时候求值。Haskell语言采用这种策略。
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
f(x + 5)
|
f(x + 5)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user