package ocamlmig

  1. Overview
  2. Docs
OCaml source code rewriting tool

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocamlmig-5.4.20260731.tbz
sha256=48fa5c5e3780016ed9f8dcfa1ca68d486c022bebe4f96e01967d5d6db56b999e
sha512=9d8adcb84dd7e58e64c00d2b781828f0e842c6b4e828f05df671161c34ba58a1887623b0b49f822646cd5664814f478173b65ce6610f8cf51d0f1c167b096d18

doc/ocamlmig.stdlib_to_base/Stdlib_to_base/index.html

Module Stdlib_to_baseSource

A set of migration annotations to convert code using the Stdlib to Base, intended to be used this way:

ocamlmig run -extra-migrations ocamlmig.stdlib_to_base

This should have decent coverage, but note that it only works for functions operating on the same datatypes in both libs. So for instance, String functions can be converted, but Queue functions cannot, because the queue types are not identical.