automatically resolving open?

Virgile Prevosto <[email protected]> Thu, 24 Apr 2025 08:39:23 +0200 (GMT+02:00)
Newsgroups gmane.comp.lang.caml.inria
Message-ID <[email protected]>
Hello,

this is one of the built-in transformations offered by the recently advertised `ocamlmig` tool:
https://github.com/v-gb/ocamlmig/blob/main/doc/using.md#removing-opens
However, it comes with caveats, including that "when identifiers are requalified, not all possible shadowings are taken into account" (and I've checked that indeed in François' example we end up with a `List.map` below the `module List = struct end`...)

Best regards,