Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ch10.md #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ch10.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Container.of(2).chain(function(two) {

<img src="images/ship_in_a_bottle.jpg" alt="http://hollycarden.deviantart.com" />

`ap` 就是这样一种函数,能够把一个 functor 的函数值应用到另一个 functor 的值上。把这句话快速地说上 5 遍。
`ap` 就是这样一种函数,能够把一个包含函数的functor应用到另一个包含值的functor上.。把这句话快速地说上 5 遍。


```js
Container.of(add(2)).ap(Container.of(3));
Expand Down