-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Reverse operation for strings_to_byte #31
Comments
Actually, reading the code it looks like EDIT I locally added |
Thanks, I'll take a look. This seems like it would be helped by addressing #10. |
@xguerin, do you know what was causing the |
Yes, #10 would definitely be the answer (this is basically what I did locally). Regarding |
Would you want to submit your patch as a PR? Otherwise let me know, I'll do it :) I'm not sure still if you mean the second part is a bug in Markup.ml, nor sure myself if it would be. My guess would be no, because Markup.ml doesn't do its own I/O, but it could be triggering some kind of I/O pattern that it shouldn't trigger. |
Yes definitely. Re: the other issue, I'll look into it and let you know. |
More info on the choke/ |
Thanks for continuing to look into it. |
Hello there,
I am trying to use Markup with Cohttp_lwt to do some HTML rewriting. I followed the example to get it to parse, but I am running into some issues to write a Markup stream into a Cohttp body due to the lack of reciprocity of the function
strings_to_byte
.Here is what I am trying to to:
Unfortunately, the last operation is not compatible because
to_lwt_stream
returns a(char, 'a) stream
whileof_stream
expects a(string, 'a) stream
. I could not find a reciprocal version ofstrings_to_byte
to hopefully do the job. Am I looking at the right place ?Thanks,
The text was updated successfully, but these errors were encountered: