package odig
Lookup documentation of installed OCaml packages
Install
dune-project
Dependency
erratique.ch
Readme
Changelog
ISC; LicenseRef-ParaType-Free-Font-License; LicenseRef-DejaVu-fonts License
Edit opam file
Versions (2)
Authors
Maintainers
Sources
odig-0.0.9.tbz
sha512=1658390e48b7698522bf539ee038476968c27b75cd90277dfeffb21258940fc2a1e24a12403aba24f7ad2ce33dc920d3149c7d3cfb74c5c3e961b1e96639e9de
doc/odig.support/Odig_support/Pkg/index.html
Module Odig_support.Pkg
Packages
Packages
val path : t -> B0_std.Fpath.tpath is the path to the compilation objects of the package.
compare_by_caseless_name p0 p1 compares p0 and p1 by name in a caseless manner.
val pp : t B0_std.Fmt.tpp formats packages.
val pp_name : t B0_std.Fmt.tpp_name formats package names.
val pp_version : string B0_std.Fmt.tpp_version formats a package version.
Queries
val of_dir : B0_std.Fpath.t -> t listof_dir lib_dir are the packages found in lib_dir. This is simply all the directory names inside lib_dir and an ocaml package which points to ocamlc -where.
val by_names : ?init:t B0_std.String.Map.t -> t list -> t B0_std.String.Map.tby_names pkgs indexes pkgs by module name and adds them to init (defaults to String.Map.empty.