News for hackers. Stuff that matters.
Re:Monads Explained Quickly by aninhumer on Saturday April 09, 2016 @08:01AM (#11460921)
I'd prefer to use the Maybe monad as an example of not being able to extract a value, as it's far clearer that sometimes there is no such value.

>Secondly the article says it needs a way to map a function over it. This is a functor not a monad.

Yes, but since monad is a superclass of functor, it's still a necessary property. Certainly, I'd much prefer it be taught in that order, but this is definitely a property you need to understand in order to form intuitions about monads.

There are no comments on this comment yet.