3 ms·
If you want to grok monads as an OCaml programmer, there is a very simple solution: do some concurrent/system programming. Both Lwt and Async are monadic, but
by Drup 8y ago
If you want to grok monads as an OCaml programmer, there is a very simple solution: do some concurrent/system programming.
Both Lwt and Async are monadic, but they are presented without requiring you to know about monads, so you can get to use them pretty easily, and after you've used them to build reasonably sized programs, then you'll have a good intuition of what's happening.