<https://lambda.show/blog/introduction-to-monads> ...
# getting-started
j
https://lambda.show/blog/introduction-to-monads Can someone explain to me the voodoo of how in step 2 the monad knows to return success or failure while the return type is neither of those, but the base class??
m
The site seems pretty incomplete, the code doesn't show what the text tells. Theres a lot of empty spaces as well
k
It looks like this page is ripped badly from the original (which doesn't suffer from the problems you've pointed out): https://mattmoore.io/blog/intro-to-monads
j
thanks, that looks much better and understandable