1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Merge pull request #149 from waylybaye/patch-1

fixed Hskell typo, should be Haskell
This commit is contained in:
Ruan YiFeng 2016-03-02 10:40:31 +08:00
commit c7463471fa

View File

@ -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)