package ocamlmig

  1. Overview
  2. Docs
OCaml source code rewriting tool

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocamlmig-5.5.20260803.tbz
sha256=c82b8574cd84ab842d818bc544eb97bf2abe51374ad418a40f650c9d8a2865ea
sha512=2bb5524ca83e70c5abc5887be3bad22fea6e7a1a5aff4d346f4a07a1a581e55ad6d61ff75328d0f85177ba82394d076f25063b8102b24ffb76f7247ca88ca7fd

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.