package ocamlmig

  1. Overview
  2. Docs
OCaml source code rewriting tool

Install

Dune Dependency

Authors

Maintainers

Sources

ocamlmig-5.2-20250228.tbz
sha256=b62e6316ed39461c814320282d42484bd8b7a412b861a6f14d2853ceed423005
sha512=112b09f4ee3c9305c162cb7061d3f84e6017e22f990c60f69bc8ca9a3d0344d2793f6d38b08f43b761a5b2d0d430d7e0d9b71bfe3de2f80a65ce23ce47c8fe06

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.

OCaml

Innovation. Community. Security.