3 ms·
It's still useful to understand it a bit deeper to see the similarity between e.g. lists, optionals, and IO.
by nine_k 8y ago
It's still useful to understand it a bit deeper to see the similarity between e.g. lists, optionals, and IO.
- foldr 8y agoWell, YMMV, but I don't have any trouble understanding the concept of one thing happening after another without reference to all that other stuff.
- marcosdumay 8y agoI find that kind of comment incredibly misleading. The concepts that most people attach to lists and optionals don't touch functor semantics and thus are miles away from monads. Saying that lists are an instance of Monad in Haskell says much more about novel ways you can use a list in Haskell than about properties of a monad.
- nine_k 8y agoStill, questions like "how do I flatten a list of lists" are common on stackoverflow.