←back to thread

A list is a monad

(alexyorke.github.io)
153 points polygot | 2 comments | | HN request time: 0.431s | source
Show context
mikelitoris ◴[] No.44446800[source]
A list is like a burrito
replies(1): >>44448019 #
1. zahlman ◴[] No.44448019[source]
It's just a loust in the category of endosequences.
replies(1): >>44449212 #
2. 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.