
Functional programming and category theory tweets from @JohnDCook
Houston, TX
Joined June 2016
- Tweets4.2K
- Following6
- Followers26.6K
- Likes40
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.
Interesting categories are big johndcook.com/blog/2025/12/2…
Hy: A Lisp that transforms to the Python abstract syntax tree docs.hylang.org/
'Theorems for Free' and related papers by Philip Wadler homepages.inf.ed.ac.uk/wadle…
'Coconut is a simple, elegant, Pythonic functional programming language that compiles to Python.' coconut-lang.org/
Epic and monic johndcook.com/blog/2018/08/2…
A functor between two categories maps objects to objects and morphisms to morphisms in a structure-preserving way.
'This may be one of the gentlest introductions to the idea of categories and monads that you will find.' cdsmith.wordpress.com/2012/0…
Functor Fact retweeted
Categorical models of logics
johndcook.com/blog/2026/10/1…
Functor Fact retweeted
📄 Spivak (2026) Compositional Dynamics in Learning and Mechanics arxiv.org/abs/2606.28984
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).
'Category theory has been called 'abstract nonsense' both by its friends and its detractors.' -- Joseph Goguen





