Bartosz Milewski's 'Category Theory for Programmers' unofficial PDF and LaTeX source
This is an unofficial PDF version of "Category Theory for Programmers" by Bartosz Milewski, converted from his blogpost series (with permission!)
The best way to build the book is using the Nix package manager. After installing Nix, type
nix-shellin 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.
srcdirectory contains the LaTeX sources. To recompile the book, go there and enter:
To build the Scala edition, type:
$ make scala
Upon successful compilation, the files will be placed in the
outdirectory next to
preamble.texcontains all the configuration and style declarations.
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:
The original blog post acknowledgments by Bartosz are consolidated in the Acknowledgments page at the end of the book.
Note from Bartosz: I really appreciate all your contributions. You made this book much better than I could have imagined. Thank you!
The PDF book,
.texfiles, and associated images and figures in directories
src/contentare licensed under Creative Commons Attribution-ShareAlike 4.0 International License (cc by-sa).
The script files
scraper.pyand others are licensed under GNU General Public License version 3 (for details, see LICENSE).