links icon indicating copy to clipboard operation
links copied to clipboard

Drop Lwt in favour of effect handlers

Open dhil opened this issue 3 years ago • 0 comments
trafficstars

OCaml 5.00 is due to be released later this year. This release brings effect handlers to OCaml, and thus a native mechanism for programming with control. In the long term we should replace uses of Lwt in our code base with effect handlers, such that we can get rid of the pseudo-monadic programming style and instead use good ol' direct-style. This will also provide a good opportunity to rethink and possibly redesign parts of the Links process model.

dhil avatar Jan 10 '22 13:01 dhil