←back to thread

A list is a monad

(alexyorke.github.io)
153 points polygot | 3 comments | | HN request time: 1.638s | source
1. mikelitoris ◴[] No.44446800[source]
A list is like a burrito
replies(1): >>44448019 #
2. zahlman ◴[] No.44448019[source]
It's just a loust in the category of endosequences.
replies(1): >>44449212 #
3. accoil ◴[] No.44449212[source]
I think that was the article that made me actually try to understand "A monad is just a monoid in the category of endofunctors". Researching "endofunctor" helped significantly more than any of the analogies floating around at the time.