News for hackers. Stuff that matters.
Re:Ask HN: ELI5 What Is a Monad? by Tainnor on Monday November 14, 2022 @08:21PM (#33604017)
Yes.

"A value in a box" is more like a metaphor for a functor.

The key part about monads is that you can "merge the boxes" (to strain the analogy). Or, as I'd prefer to think about it, to merge different effects.

There are no comments on this comment yet.