Marshall Roch

Results 29 comments of Marshall Roch

Lwt has a bug (https://github.com/ocsigen/lwt/issues/966) whose fix needs access to these functions. An "environment block" consists of a null-terminated block of null-terminated strings. ocaml itself deals with this here: https://github.com/ocaml/ocaml/blob/000d15d4e229e895612177590df08d0364b1cb04/otherlibs/unix/createprocess.c#L122-L127

if it helps, we have an MIT-licensed C port of google's double-conversion (grisu) here: https://github.com/flow/ocaml-dtoa i don't know whether you'd call it large. one small thing I like about it...

I don't believe it will be possible to cross compile on an intel Mac without something like https://github.com/ocaml-cross/opam-cross-windows. The compiler and ppxs would need to be built for intel but...

we have internal M1 builds, yeah. we're still waiting on CircleCI to launch M1 runners to integrate with our external releases, which we're told is Real Soon Now. i'm frustrated...

recast is the biggest pain point for us internally as well. all of Meta's files are formatted with prettier; directly using prettier to print the AST instead of recast would...

here is a test demonstrating the issue: https://github.com/mroch/lwt/commit/014d18c952c722d1489ce5a5fbc0bf5fd15e2cc7

i dunno if you can get CI to run on the first diff (1d199cd) but it'll show the bug. for example: https://github.com/mroch/lwt/actions/runs/3284275234/jobs/5410034604 I believe the `EINVAL` comes from passing just...

I think it's broken (skipped) if you disable serverCompletionRanking, but otherwise no, not really necessary. Just a suggestion

we run into this in our builtin libs as well. For example, in Node `process` is a global of type `Process`. `Process` extends `EventEmitter` from the `events` module, which we...

`flow-remove-types` works by hooking into `require` (via [pirates](https://www.npmjs.com/package/pirates)), so it only works with CJS. to work with ESM, we need to use node's [loaders](https://nodejs.org/api/esm.html#esm_loaders) which are still experimental and say...