“I also heartily recommend this. I've been watching the videos whilst ploughing through the PDF book version [1] on my Kindle. He really is a very good teacher.”
Category Theory for Programmers
从程序员视角讲范畴论,用 Haskell 与 C++ 举例
Bartosz Milewski 把自己的博客系列整理成书,从程序员熟悉的类型和函数出发,讲范畴、函子、自然变换、单子(monad)等范畴论概念。示例使用 Haskell 和 C++,并配有课程视频;书由作者和社区持续更新,还出现了其他语言的版本。和偏纯数学的范畴论教材相比,它更强调组合与抽象在编程中的意义。
HN 上的人把它当作程序员学范畴论最好的免费入门之一,称作者是好老师,讲清了函子、单子等概念,也有人说它比别的入门更好地解释了 Haskell 背后的思想。
想理解函数式编程背后数学的程序员
怎么读
由 Claude 根据这本书和 HN 上的说法整理,可能有错- 1配合作者的课程视频一起看,效果更好
- 2前几章先把范畴、组合的直觉建立起来
- 3示例以 Haskell 为主,不会也可边读边学语法
- 4做书里的练习,卡住就先跳过再回头
HN 书评
推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算“I like Bartosz Milewski's introduction [1][2]”
“Also recommend checking out Bartosz Milewski's "Category Theory for Programmers": Category Theory for Programmers”
“The pdf generated from his blog is also interesting:”
“Re: math, composition and universal abstractions Folks please read Category Theory for Programmers”
“Also, the accompanying book is well written (and free)!”
看全部 18 条 →
“Also I personally recommend to take a look to this series before diving into his great introductory book about category theory [1].”
“Milewski's free book Category Theory for Programmers is a "classic" as well Category Theory for Programmers”
“Another category theory resource you may find interesting is Category theory for programmers by Bartosz Milewski.”
“if I had to guess at what would be effective at getting up to speed without spending 25 years, would be to checkout Category Theory for Programmers Category Theory for Programmers.”
“Category Theory for Programmers [1] covers monoids (and other concepts).”
“I found it did a much better job at explaining Haskell to me than any other introduction I read before.”
“I still would vote to learn it from Milewski though.”
“Bartosz Milewski's Category Theory for Programmers lectures [1] are good. Especially paired with his book [2].”
“Seems a good time for adding a Julia flavor for Category Theory for Programmers[1] book.”
“Or direct[-ish] link to TFA's PDF: Category Theory for Programmers”
“The book itself is constantly updated by the author and community, people add particular language flavors.”
“In a different comment thread, someone mentioned the book, Category Theory for Programmers. Here's the Releases page with PDF files”
- Bartosz Milewski's 'Category Theory for Programmers' Unofficial PDF/LaTeX Source ↗gfredtech · 2017-09-30 · 91 分
- Category Theory for Programmers ↗ingve · 2018-10-21 · 2 分