Just what the internet needed: another attempt to explain #monads! ๐ But this time I'm comparing #Haskell and #OCaml approaches to show why #typeclasses make all the difference. Turns out those JavaScript Promise analogies only tell half the storyโฆ
If you have a fediverse account, you can quote this note from your own instance. Search https://hollo.social/@hongminhee/01957dc2-5492-7eed-8374-eca6a0dc5da1 on your instance and quote it. (Note that quoting is not supported in Mastodon.)