Skip to content

Commit

Permalink
Update README and CONTENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
llh911001 committed Nov 7, 2015
1 parent b6c0dbf commit 0c01420
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.md
@@ -1,12 +1,5 @@
> This is the Simplified Chinese translation of *[mostly-adequate-guide](https://github.com/DrBoolean/mostly-adequate-guide)*, thank Professor [Franklin Risby](https://github.com/DrBoolean) for his great work!
# 关于中文版

这是 *[mostly-adequate-guide](https://github.com/DrBoolean/mostly-adequate-guide)* 一书的中文版,原作者 [Franklin Risby](https://github.com/DrBoolean) 教授由浅入深地介绍了函数式编程的基础概念,并使用 JavaScript 编写了大量的示例代码。

翻译已得到作者[授权](https://github.com/MostlyAdequate/mostly-adequate-guide/blob/master/TRANSLATIONS.md#available-translations),进度也与原书进度一致,目前完成到第 2 部分。第 3 部分作者还在写作中,有更新的话我也会继续翻译。

原书是初版草稿,这本中文版也是一样,所以不管是原文中的错误,还是翻译上的谬误,我都会及时做更新。如果发现错漏之处,欢迎大家提 [Issue](https://github.com/llh911001/mostly-adequate-guide-chinese/issues/new)

<!-- <img src="images/cover.png"/> -->

Expand Down Expand Up @@ -83,7 +76,14 @@
* [chain 函数](ch9.md#chain-函数)
* [理论](ch9.md#理论)
* [总结](ch9.md#总结)

* [第 10 章: Applicative Functor](ch10.md)
* [应用 applicative functor](ch10.md#应用-applicative-functor)
* [瓶中之船](ch10.md#瓶中之船)
* [协调于激励](ch10.md#协调于激励)
* [lift](ch10.md#lift)
* [免费开瓶器](ch10.md#免费开瓶器)
* [定律](ch10.md#定律)
* [总结](ch10.md#总结)


# 未来计划
Expand Down
9 changes: 9 additions & 0 deletions SUMMARY.md
Expand Up @@ -48,5 +48,14 @@
* [chain 函数](ch9.md#chain-函数)
* [理论](ch9.md#理论)
* [总结](ch9.md#总结)
* [第 10 章: Applicative Functor](ch10.md)
* [应用 applicative functor](ch10.md#应用-applicative-functor)
* [瓶中之船](ch10.md#瓶中之船)
* [协调于激励](ch10.md#协调于激励)
* [lift](ch10.md#lift)
* [免费开瓶器](ch10.md#免费开瓶器)
* [定律](ch10.md#定律)
* [总结](ch10.md#总结)



2 changes: 1 addition & 1 deletion ch10.md
@@ -1,6 +1,6 @@
# Applicative Functor

## 应用 applicative
## 应用 applicative functor

考虑到其函数式的出身,**applicative functor** 这个名称堪称简单明了。函数式程序员最为人诟病的一点就是,总喜欢搞一些稀奇古怪的命名,比如 `mappend` 或者 `liftA4`。诚然,此类名称出现在数学实验室是再自然不过的,但是放在其他任何语境下,这些概念就都像是汽车餐馆里扮作达斯维达的故意搞怪的服务员。(译者注:此处需要做些解释,1. 汽车餐馆(drive-thru)指的是那种不需要顾客下车就能提供服务的地方,一般是小餐馆;2. 达斯维达(Darth Vader)是《星球大战》系列主要反派角色,在美国大众文化中的有着广泛的影响力,其造型是很多人致敬模仿和恶搞的对象;3. 由于 2 的缘故,美国一些 drive-thru 会有扮作 Darth Vader 的服务员,在为顾客服务的时候做一些恶搞,YouTube 上有不少这种搞怪视频;4. 作者使用这个“典故”是为了说明函数式里很多概念的名称有些“故弄玄虚”,而 applicative functor 是少数比较“正常”的。)

Expand Down
2 changes: 1 addition & 1 deletion ch9.md
Expand Up @@ -356,7 +356,7 @@ monad 让我们深入到嵌套的运算当中,使我们能够在完全避免

下一章,我们将看到 applicative functor 如何融入这个容器世界,以及为何在很多情况下它比 monad 更好用。

[Chapter 10: Applicative Functors](ch10.md)
[ 10: Applicative Functor](ch10.md)


## 练习
Expand Down

0 comments on commit 0c01420

Please sign in to comment.