Hacker News new | ask | show | jobs
by raiflip 2115 days ago
I really like how this article builds up from a simple real life use case.

Shameless plug for my own article that did something similar about a week ago: https://medium.com/@ameltzer91/an-easy-to-understand-monad-g...

4 comments

Nice article, I linked to it from my tumblelog https://plurrrr.com/archive/2020/08/19.html 10 days ago. Thanks for writing this.
Good article! I enjoyed that you used flatMap. And the FinancialRegulatorMonad is a great way to show that monads are not just IO, State or Maybe. :)
Thank you for the article. I had an idea of what Monads were and even played with them a bit in Rust, but I didn't know they had applications more specific than Result/Option types.
Thank you for the kind words, and nice article! : )