DeepRead
Cover of Category Theory for Programmers

Category Theory for Programmers

Bortosz Milewski, Bartosz Milewski · 2018

Mathematics and physics › Category theory

#510 most recommended

About the book

An introduction to category theory written for working programmers, assuming programming experience but no background in mathematics. It covers the core vocabulary of categories, morphisms, functors, natural transformations, monoids, products and sums, and monads, with examples in Haskell, C++, OCaml and Scala. It is available free online and is paired with a companion lecture series. Category theory is a useful language for reasoning about composition, which the book treats as the central idea in programming, so that functions, types and their relationships can be understood as objects and arrows in a category. The book's main claim is that familiar programming patterns, such as algebraic data types, functors, and monads, are instances of general categorical structures, and that seeing them this way makes code easier to design and reason about. It also presents category theory as a way to explain the ideas underlying Haskell.

Written by Claude from what it knows of this book.

What Hacker News says 65% recommend · 6% critical

010202015202020262021 peak · 19
This bookAverage book in Category theory

In the commenters’ own words

What Open Library readers say 3.00 from 1 rating

  1. 50
  2. 40
  3. 31
  4. 20
  5. 10
  • 2 want to read
  • 0 reading
  • 1 have read

Only 1 rating: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2018
ISBN
9780464825081
Editions known
6 at Open Library
Open Library
OL23987566W

Explore in the mosaic

Read next: its neighbours on the mosaic