predlist are true, i.e. the names of the
packages required by pkg.
The returned list is unsorted.
Raises No_such_package if the package pkg or one of its ancestors
could not be found.
val package_deep_ancestors : string list -> string list -> string listpackage_deep_ancestors predlist pkglist:
determines the list of direct or indirect ancestors of the packages
named in pkglist under the assumption that the predicates in predlist
are true.
The returned list is topologically sorted: The first element is the
deepest ancestor; the last element is one of pkglist.
Raises No_such_package if one of the packages in pkglist or one of
the ancestors cannot be found. Raises Package_loop if there is a
cyclic dependency.
val resolve_path : ?base:string -> string -> string +name/path can be used to refer to the subdirectory name
of the standard library directory; the continuation /path is
optional. The notation @name/path can be used to refer to
the directory of the package name; the continuation /path
is optional. For these two notations, absolute paths are returned.
base : When the function is applied on a relative path, the
base path is prepended. Otherwise, the path is returned as
it is.val list_packages : ?tab:int -> ?descr:bool -> Pervasives.out_channel -> unitout_channel.
tab : The tabulator width, by default 20descr : Whether package descriptions are printed. Default: false