Raphaël Proust
Raphaël Proust
Notes: - `failwith` is not an Lwt primitive, however - `raise` isn't either, and - `finalize` is implemented as `try_bind` (src/core/lwt.ml:2071) which wraps calls to the main part in a...
The upcoming manual should probably be precise about what `Lwt_unix.on_signal` does. Something along the line of “the callback triggered by the signal is not related to any specific promise –...
Also, this issue should be re-tagged from bug into documentation.
> I wonder why `Lwt_io.printf`, etc. don't just call their `Lwt_fmt.printf`, etc. counterparts directly. Anyone knows why? @aantron @Drup? AFAICT, `Lwt_io` calls `Printf` whereas `Lwt_fmt` calls `Format`. Does it have...
Maybe `Lwt_fmt` could have a similar fate as `Lwt_log` where we deprecated it and recommend a separate package instead.
That solves the other thing you mentioned: > ideally, Lwt_fmt should not depend on lwt_unix so it could be used in more context.
@Sudha247 has already started some of this work with https://github.com/ocsigen/lwt/pull/860. It's a new module `Lwt_domain` which adds a function `detach : ('a -> 'b) -> 'a -> 'b Lwt.t` which...
Of interest to the conversation: @talex5 's experimental Lwt-Eio bridge https://github.com/talex5/lwt_eio
Thanks for this PR! I like the idea behind esperanto/cosmopolitan very nice! Some comments about the MR specifically: - It touches the part of Lwt that I'm not familiar with...
> Currently, Esperanto support 4.12, 4.13 and 4.14 (MirageOS support) Nice! I got the 4.14 support from [the Esperanto README](https://github.com/dinosaure/esperanto/blob/main/README.md): > Currently, we only support OCaml 4.14 This might need...