milewski-ctfp-pdf

Bartosz Milewski's 'Category Theory for Programmers' unofficial PDF and LaTeX source

Github星跟踪图

Category Theory for Programmers

image
Direct link: category-theory-for-programmers.pdf
(Latest release: v1.3.0, August 2019. See releases for additional formats and languages.)

Build Status
(latest CI build)


Available in full-color hardcover print
Publish date: 12 August, 2019. Based off release tag v1.3.0. See errata-1.3.0 for changes and fixes since print.

Scala Edition is now available in paperback
Publish date: 12 August, 2019. Based off release tag v1.3.0. See errata-scala for changes and fixes since print.

This is an unofficial PDF version of "Category Theory for Programmers" by Bartosz Milewski, converted from his blogpost series (with permission!)


Building

The best way to build the book is using the Nix package manager. After installing Nix, type nix-shell in the root directory of the project. This will download all the needed dependencies and tools to build the book (TeXLive, required fonts and packages, Pygments theme for syntax highligting, etc.)

When the download is complete, and you're prompted with a shell, use the instructions below to build the book.

The src directory contains the LaTeX sources. To recompile the book, go there and enter:

$ make

To build the Scala edition, type:

$ make scala

Upon successful compilation, the files will be placed in the out directory next to src.

The file preamble.tex contains all the configuration and style declarations.

Acknowledgements

PDF LaTeX source and the tools to create it are based on the work by Andres Raba et al., available here: https://github.com/sarabander/sicp-pdf.
The book content is taken, with permission, from Bartosz Milewski's blogpost series, and adapted to the LaTeX format.

Thanks to the following people for contributing corrections/conversions and misc:

  • Oleg Rakitskiy
  • Jared Weakly
  • Paolo G. Giarrusso
  • Adi Shavit
  • Mico Loretan
  • Marcello Seri
  • Erwin Maruli Tua Pakpahan
  • Markus Hauck
  • Yevheniy Zelenskyy
  • Ross Kirsling
  • ...and many others!

Note from Bartosz: I really appreciate all your contributions. You made this book much better than I could have imagined. Thank you!

License

The PDF book, .tex files, and associated images and figures in directories src/fig and src/content are licensed under Creative Commons Attribution-ShareAlike 4.0 International License (cc by-sa).

The script files scraper.py and others are licensed under GNU General Public License version 3 (for details, see LICENSE).

主要指标

概览
名称与所有者hmemcpy/milewski-ctfp-pdf
主编程语言TeX
编程语言Makefile (语言数: 11)
平台
许可证Other
所有者活动
创建于2017-09-02 20:53:28
推送于2025-03-27 13:35:19
最后一次提交2025-03-27 22:35:19
发布数52
最新版本名称v36-98b71ac (发布于 )
第一版名称v0.1 (发布于 )
用户参与
星数11.2k
关注者数238
派生数605
提交数349
已启用问题?
问题数170
打开的问题数44
拉请求数142
打开的拉请求数20
关闭的拉请求数27
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?