Functional programming and category theory tweets from @JohnDCook

Houston, TX
Joined June 2016
Functor Fact retweeted
14
47
8
473
7,312
Functor Fact retweeted
Categorical models of logics johndcook.com/blog/2026/10/1…
4
35
2
257
9,671
Functor Fact retweeted
Lasagna is a monoid. Stack two lasagnas, you get one tall lasagna. This is in contrast to e.g. a pizza. Stacking two pizzas does not make a new pizza, the top pizza merely becomes a topping of the bottom pizza Follow me for more categorical insights
Visual monad explanation
39
141
12
2,228
86,051
Functor Fact retweeted
“Yes, but is it art?”
16
47
8
647
17,951
If you've been struggling learning category theory, you might want to check out Paolo Perrone's 'Notes on Category theory: with examples from basic mathematics' available publicly on arXiv. These notes were produced during a class given to a diverse set of scientists (including chemists and physicists), with knowledge in linear algebra being the only subject assumed to be known! 🔗👇
15
103
7
776
55,218
Functor Fact retweeted
Python made AI accessible. Rust can make parts of AI understandable. That’s the bet behind Category Theory for Tiny ML in Rust. We’re building tiny ML systems from first principles using: Rust types typed transformations composition training loops category theory as an engineering tool Not abstraction cosplay. Executable structure. Working draft. Public feedback welcome.
60
318
18
2,361
139,609
Functor Fact retweeted
Alexander Grothendieck My name is Alexander Grothendieck And Alfred Tarski’s "≅" is far too weak But just you wait Just you wait
9
10
1
217
24,063
Functor Fact retweeted
3
90
16
1,201
43,703
Functor Fact retweeted
7
31
3
320
16,664
"Why I never learned category theory" Chapter 1, Exercise 1: Show the following diagram commutes
24
48
6
657
28,945
"This follows from general theory, the details are in Lurie" "No they aren't, did you even read it?" "No, did you?" "No"
4
1
21
1,667
Functor Fact retweeted
28
95
13
1,093
36,161
"There are two kinds of generalizations. One is cheap and the other is valuable. It is easy to generalize by diluting a little idea with a big terminology. It is much more difficult to prepare a refined and condensed extract from several good ingredients." -- George Pólya
1
13
65
5,164
For a monoid M, TFAE: (1) The associativity diagram M × M × M → M × M ↓ ↓ M × M → M is a pull-back (of sets). (2) M is a group.
4
28
7
255
23,449
I think it commutes
36
101
22
957
48,981