top | item 24318843

(no title)

raiflip | 5 years 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...

discuss

order

ratww|5 years ago

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. :)

Kaze404|5 years ago

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.

stopachka|5 years ago

Thank you for the kind words, and nice article! : )