
Category Theory for Programmers
Bortosz Milewski, Bartosz Milewski · 2018
Mathematics and physics › Category theory
#510 most recommended
Hacker News
90
mentions by 78 people · top 4% of 15,732 books
Open Library
3.00★★★★★★★★★★
1 rating · 2 want to read
Wikipedia
—
No article yet
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
In the commenters’ own words
Original request bit wide open on subject domain/topic subdomains. aka CS AI; CS programming language implimentation; implimenting a database engine Subject…
I don't know. It's kind of newfangled. It's "in the air" though, I think. Here's what I got (it helps to know a little Category Theory, try Bartosz Milewski's…
What Open Library readers say 3.00 from 1 rating
- 50
- 40
- 31
- 20
- 10
- 2 want to read
- 0 reading
- 1 have read
Only 1 rating: treat the average as a hint.
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
Read next: its neighbours on the mosaic
Conceptual MathematicsF. William Lawvere · 1997 · recommended by 36 people · 6 people recommended both
Category Theory in ContextEmily Riehl · 2016 · recommended by 8 people · 4 people recommended both
Basic category theory for computer scientistsBenjamin C. Pierce · 1991 · recommended by 12 people · named together in 2 comments
Basic Category TheoryTom Leinster · 2014 · recommended by 7 people · named together in 2 comments
TopoiRobert Goldblatt · 1979 · recommended by 2 people · similar by subject and what people say about it
Linear Algebra Done RightSheldon Jay Axler · 2004 · recommended by 130 people · 5 people recommended both
A Book of Abstract AlgebraCharles C. Pinter · 1982 · recommended by 25 people · 3 people recommended both
Structure and Interpretation of Computer ProgramsHarold Abelson · 1984 · recommended by 347 people · 3 people recommended both
Pearls of functional algorithm designBird, Richard · 2010 · recommended by 17 people · 2 people recommended both
Coding the MatrixPhilip N. Klein · 2013 · recommended by 31 people · 2 people recommended both
Seven Sketches in Compositionalityrecommended by 20 people · similar by subject and what people say about it
Learn You a Haskell for Great Good!Miran Lipovača · 2011 · recommended by 237 people · 2 people recommended both
Invitation to Applied Category TheoryBrendan Fong · 2019 · recommended by 8 people · similar by subject and what people say about it
The Annotated TuringCharles Petzold · 2008 · recommended by 56 people · similar by subject and what people say about it
CausalityJudea Pearl · 2000 · recommended by 17 people · 2 people recommended both
Categories for the Working MathematicianSaunders Mac Lane · 1971 · recommended by 4 people · similar by subject and what people say about it
Functional Differential GeometryGerald Jay Sussman · 2013 · recommended by 10 people · similar by subject and what people say about it
How to Bake PiEugenia Cheng · 2015 · recommended by 9 people · similar by subject and what people say about it
Purely functional data structuresChris Okasaki · 1998 · recommended by 87 people · 2 people recommended both
On LISPPaul Graham · 1993 · recommended by 192 people · 3 people recommended both
The art of computer programmingDonald Knuth · 1968 · recommended by 336 people · 2 people recommended both
Practical Foundations for Programming LanguagesRobert Harper · 2016 · recommended by 17 people · similar by subject and what people say about it
How to Design ProgramsMatthias Felleisen · 2001 · recommended by 277 people · similar by subject and what people say about it
Programming in HaskellGraham Hutton · 2007 · recommended by 34 people · similar by subject and what people say about it