|
|
|
|
|
by vertex-four
3186 days ago
|
|
The problem is that Haskell developers like to push monads as the solution to a problem most developers in other languages don't actually have, so discovering the problem that's being solved is the difficult bit. Of course, this doesn't happen with other niche solutions because other niche solutions don't have an entire popular language which nearly-precisely encodes the problems monads are good at solving. |
|
For instance, a pointer type in C is like a "Maybe a" in Haskell, because a pointer can always be null (Nothing).