Re:Side Effects vs. Promises
by ufo on Sunday October 04, 2015 @03:00PM
(#10328420)
Async is like having do-notation, but without having to convert your code to do-notation! Do-notation is nice but having a single notation for everything is even better.
Both haskell and ocaml currently require you to use do-notation to write async code. I'm really looking forwards to algebraic effects landing in ocaml though because with that they will be introducing delimited one-shot continuations as part of the core language.
Both haskell and ocaml currently require you to use do-notation to write async code. I'm really looking forwards to algebraic effects landing in ocaml though because with that they will be introducing delimited one-shot continuations as part of the core language.