Jérôme Vouillon

Results 128 comments of Jérôme Vouillon

This should work: ```ocaml let insert_many_people names = let names = List.map (fun x -> Some x) names in [%pgsql db "INSERT INTO people (name) SELECT x FROM UNNEST($names ::...

I'm not sure why this was done, but anyway, I think we can leave it, since there is no ambiguity (a host name cannot start with a slash).

One can get some type information from the debugging events.

We can get some information from the cmi files. But I'm not sure we want to go this way. (One may have to expand some module types, and thus load...

#233 adds a `Re.split_delim` function which behaves as you expect.

I'm not very happy with the change on typed array, but I'm not sure how to do any better. OCaml numbers and JavaScript numbers do not coincide, except for 31-bit...

One could dispatch on the constructor's name to perform the appropriate conversion. But this is going to add a lot of overhead to `Tarray.get` and `Tarray.set`. But maybe we can...

The bigarray primitives have less overhead, indeed. They make a dispatch based on the kind of the bigarray (which is an integer), rather that on the name of the typed...

So, I have inserted appropriate conversions instead of changing the types.