-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lwt_io, Printf and Format #310
Comments
I always had the impression that a lot of the functions in |
@aantron maybe we should create new functions in |
Something to that effect. I am not sure if |
@Drup |
I was wondering if my idea would work, so here is an implementation: https://gist.github.com/Drup/2698c69fd70cf526ba3164b135177bcd |
There are two issues with
Lwt_io
:printf
part should not.printf
functions are basically broken. They rely onPrintf
instead ofFormat
, which has become the standard in OCaml pretty printing, and they do not handle the%a
very well.My current idea is to:
Lwt_format
?)Lwt_io.print*
I think this process would respect #293 and allows us to improve the state of lwt-based printing.
The text was updated successfully, but these errors were encountered: