Simon Cruanes

Results 302 comments of Simon Cruanes

This sounds like a lot of work if you don't want to break compat. `Lwt_unix` maybe hard to maintain (I have looked once or twice upon the internal type definitions...

I realize this is an old issue, but 2. would be super useful because of the [deriving inline feature](https://ppxlib.readthedocs.io/en/latest/ppx-for-end-users.html#deriving-inline). Having 0 actual dependency on ppx, for such an important and...

Could [D. Bunzli's Uutf](http://erratique.ch/software/uutf/doc/Uutf) be used to iterate over unicode chars? That might also help to parametrize over the input stream (string, bigarray, stream of strings, etc.) for #20 ...

Someone needs to do it, and it's hard™ 🙂

Wouldn't you want the full cycle, in your use case? I think it could be done by maintaining a stack at enter/exit events, but it probably deserves to be in...

A common trick I do for retrocompat is make the actual implem the most general one, and reimplement the old function in terms of the new one (ie. with a...

That would be useful indeed, but I haven't found a way of doing it without multi-threads. Technical suggestions welcome.

@hcarty I think it should be in the unix sub-library anyway, but the problem is I'm not sure how to do it even with threads (`Thread.kill` doesn't work, and I...

I tried this little experiment: ```ocaml let f () = let st = Unix.gettimeofday() in let pid = Unix.fork() in if pid=0 then ( Unix.alarm 4; Unix.execv "sleep" [| "sleep";...