Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is a monad?


It's a pattern of taking a series nested items and treating them as sequential by implicitly passing the nesting context from one item to the next.

At least, that's the programmer's interpretation. Mathematically, they are algebraic structures that can behave analogously to this in a number of fashions.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: