|
|
|
|
|
by AnimalMuppet
4415 days ago
|
|
Outstanding explanation. I think it's so good partly because I had come up with a similar explanation ;-) but it turns out that my explanation for a Monad was actually more correctly the explanation for a Functor :-( I might tweak it slightly: Explain that a Monad really is an algebraic monad, and that it really needs to be that, not just because that's what the function signatures wind up being, but because Haskell is, under the hood, expecting it to satisfy the monad identities. (Or do I have that wrong?) |
|