Functional programming and category theory tweets from @JohnDCook

Houston, TX
Joined June 2016
The groups in the category of groups are the Abelian groups!
6
1
45
1,570
A group 'in a category' is not the same thing as the category of groups. You can have groups in any category that has products.
1
7
20
1,440
In the category of groups, direct products are products, free products are coproducts.
1
2
19
859
Hy: A Lisp that transforms to the Python abstract syntax tree docs.hylang.org/
1
3
1,917
'Theorems for Free' and related papers by Philip Wadler homepages.inf.ed.ac.uk/wadle…
8
2
25
2,015
'Coconut is a simple, elegant, Pythonic functional programming language that compiles to Python.' coconut-lang.org/
1
4
23
2,211
Functor Fact retweeted
14
47
8
473
7,297
A functor between two categories maps objects to objects and morphisms to morphisms in a structure-preserving way.
1
9
1
39
2,127
Functor Fact retweeted
Categorical models of logics johndcook.com/blog/2026/10/1…
4
35
2
257
9,660
starring Denzel Washington
4
31
2,705
The 'range' of a function f: A -> B is ambiguous. Some use the term to mean the codomain B and others to mean the image f(A).
1
24
1,819
'Category theory has been called 'abstract nonsense' both by its friends and its detractors.' -- Joseph Goguen
3
6
1
32
1,532
Co-limits in category theory are also called direct limits, inductive limits, and right roots.
1
3
27
1,554
Limits in category theory are also called inverse limits, projective limits, and left roots.
1
7
2
26
3,125