This book helped me a lot when I started out on FP. I did not read it all but it did wonders for me when I tried to understand why FP works as it does for example with composition.
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, if you're using a non-NixOS operating system, you need to install nixFlakes in your environment following the steps below (source):
$ nix-env -iA nixpkgs.nixFlakes
Edit either ~/.config/nix/nix.conf or /etc/nix/nix.conf and add:
This book helped me a lot when I started out on FP. I did not read it all but it did wonders for me when I tried to understand why FP works as it does for example with composition.
hmemcpy / milewski-ctfp-pdf
Bartosz Milewski's 'Category Theory for Programmers' unofficial PDF and LaTeX source
Category Theory for Programmers
Direct link: category-theory-for-programmers.pdf
(Latest release: v1.3.0, August 2019. See releases for additional formats and languages.)
(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, if you're using a non-NixOS operating system, you need to install
nixFlakes
in your environment following the steps below (source):Edit either
~/.config/nix/nix.conf
or/etc/nix/nix.conf
and add:This is…