News for hackers. Stuff that matters.
Re:Monads Are Not Metaphors (2010) by jessaustin on Thursday September 10, 2015 @10:53AM (#10198393)
...immediate (apologetic) use of `andThen`...

That is hilarious:

note: the andThen method isn’t defined for functions of 0-arity, but we’re going to pretend that it is and that it works the same as it does for functions of one argument.

Here's this thing that no one who doesn't already understand monads has ever seen, and that actually doesn't even work in this situation, but let's pretend it has some other definition that would work, if that were actually possible, which isn't the case. Why is everyone running, screaming, back to metaphor-based tutorials?

There are no comments on this comment yet.