package uniq

  1. Overview
  2. Docs
A library which introspect and infer dependencies via codept, ocamlfind and opam

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uniq-0.1.0.tbz
sha256=998588f1053cf03161a4bded6d7f8068c88de497e77fc0bbca81a5234fa444d5
sha512=53d4ee5ad8c01e19a2e1fbda86266768d118f78566b82f0c736338ce2c12258185a5f4dbb90bf0da37a7528098266ec81861bdcfea29e55daa3122a4f3a1daca

doc/uniq.mod/Uniq_resolve/index.html

Module Uniq_resolveSource

Sourcemodule Src : sig ... end
Sourceval qualify_objects : Uniq_info.t list -> Uniq_info.t list
Sourceval qualify : ?stdlib:bool -> Src.t list -> (Uniq_info.t list, [> `Msg of string ]) result

qualify ?stdlib srcs returns the OCaml objects that can be inferred based on the given sources srcs (folders, files, artefacts) and attempts to qualify these objects. To qualify an object is, strictly speaking, to find all the other objects required so that all references within the object can be found amongst the others. An object may therefore not be fully qualified, and other sources must therefore be found in order for it to be fully qualified.

It is said that static linking of all these objects is possible once they are all fully qualified. This function is therefore the central element of our resolution loop (qualify, search for new elements, re-qualify, and so on until all artefacts have been fully qualified).