Hacker News new | past | comments | ask | show | jobs | submit login

Everywhere you wrote "monad" you should have "functor". A monad is a functor with extra structure relating to how elements are inserted into the "collection" in the first place. Functors only discuss how functions are applied to elements already collected.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact