News for hackers. Stuff that matters.
Re:A List Is a Monad by lmm on Wednesday July 02, 2025 @09:59PM (#44450903)
> From an OOP perspective, they have some properties that make them, in some sense, sorta like containers, e.g., they contain a value like the Maybe monad.

Not always! I find this is a big source of confusion; not all monads contain values, sometimes beginners think they can or should "get the value out" of a monad and that tends to lead to writing the wrong kind of code.

There are no comments on this comment yet.