package ocamlmig

  1. Overview
  2. Docs
OCaml source code rewriting tool

Install

Dune Dependency

Authors

Maintainers

Sources

ocamlmig-5.2-20250202.tbz
sha256=4e8e966d32d45c5fce23f5310de0ad6885b5879b9c5293d2dfa04ed6f6cb8f93
sha512=d1fb37be81b4adb92e4cf38f2f41e1655b522ca1a45103224643fa41ee88603bb4d9b44b8bfa7028fb8e28a680d210209fe1068d8a75102c925139954d037e37

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 -side-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.

OCaml

Innovation. Community. Security.