package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 5.2.1

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-5.2.1.tar.gz
sha256=2d0f8090951a97a2c0e5b8a11e90096c0e1791d2e471e4a67f87e3b974044cd0

doc/compiler-libs.optcomp/Export_info_for_pack/index.html

Module Export_info_for_pack

Transformations on export information that are only used for the building of packs.

val import_for_pack : pack_units:Compilation_unit.Set.t -> pack:Compilation_unit.t -> Export_info.t -> Export_info.t

Transform the information from exported to be suitable to be reexported as the information for a pack named pack containing units pack_units. It mainly changes symbols of units pack_units to refer to pack instead.

val clear_import_state : unit -> unit

Drops the state after importing several units in the same pack.

OCaml

Innovation. Community. Security.