<discocaml>
<aantron> I'm going to stream porting Dream to Eio today at 14:00 CET (Berlin time). We're going all the way this time, it's going to take a few weeks, though https://www.twitch.tv/antron_ML
<Anarchos>
_ggole cause the doc says it returns the number of bytes read, and if it is 0 it means an end-of-file. But if we ask for 0, it doesn't mean an end-of-file though. Edge case i know....
<discocaml>
<_ggole> Ah, I see. The correct EOF test would probably be `return_value = 0 && n > 0`; or you could wrap `input` so as to avoid passing it the zero.
jabuxas has joined #ocaml
myrkraverk_ has joined #ocaml
myrkraverk has quit [Read error: Connection reset by peer]
<Anarchos>
_ggole exactly? I was
<Anarchos>
just pointing that the doc is not clear on the edge case behaviour.
torretto has quit [Remote host closed the connection]
torretto has joined #ocaml
<discocaml>
<_ggole> Yeah, that should probably be mentioned.
jabuxas has quit [Ping timeout: 256 seconds]
szkl has joined #ocaml
<reynir>
I have lines in my .vimrc to use ocp-indent, but still the vim distribution's indent file for ocaml takes precedense. Any hints whatI can do? execute "set rtp+=" . g:opamshare . "/ocp-indent/vim"
olle has quit [Ping timeout: 246 seconds]
<Anarchos>
try ^= instead of +=
zanetti has joined #ocaml
torretto has quit [Remote host closed the connection]
torretto has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
dnh has quit [Client Quit]
Serpent7776 has quit [Ping timeout: 264 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
pi3ce has quit [Ping timeout: 268 seconds]
pi3ce has joined #ocaml
bartholin has joined #ocaml
Tuplanolla has joined #ocaml
<discocaml>
<functionalprogramming> will this change the external API of Dream?
<discocaml>
<aantron> Mostly promises (Lwt.t) will be gone
Anarchos has joined #ocaml
<discocaml>
<functionalprogramming> interesting
<discocaml>
<functionalprogramming> will they be replaced by some other wrapper? or will something like `'a Lwt.t` become just `'a`
<discocaml>
<dinosaure> If you are interested, I actually did a support of http/1.1 and h2 with miou (without upgrade) here: https://github.com/robur-coop/httpcats
<discocaml>
<dinosaure> It's clearly experimental and I'm currently try to formalize cancellation for miou, so I will probably rewrite it according to what I had done, but it exists and as far as I can tell, it's working
<Anarchos>
here are the only 3 tests failed on x86_64 haiku when adding native backend : tests/lib-format/mc_pr586_par2.ml tests/lib-sys/rename.ml tests/lib-unix/unix-socket/recvfrom_unix.ml
szkl has quit [Quit: Connection closed for inactivity]