package coq
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=3cbfc1e1a72b16d4744f5b64ede59586071e31d9c11c811a0372060727bfd9c3
doc/coq-core.vernac/Loadpath/index.html
Module Loadpath
Source
* Load paths.
A load path is a physical path in the file system; to each load path is associated a Coq DirPath.t
(the "logical" path of the physical path).
Type of loadpath bindings.
Get the logical path (Coq module hierarchy) of a loadpath.
Remove the current logical path binding associated to a given physical path, if any.
Get the binding associated to a physical path. Raises Not_found
if there is none.
Locate a file among the registered paths. Do not use this function, as it does not respect the visibility of paths.
Locate a library in the load path
val locate_qualified_library :
?root:Names.DirPath.t ->
?warn:bool ->
Libnames.qualid ->
(library_location * Names.DirPath.t * CUnix.physical_path) locate_result
Locates a library by implicit name.
Extending the Load Path
type vo_path = {
unix_path : string;
(*Filesystem path containing vo/ml files
*)coq_path : Names.DirPath.t;
(*Coq prefix for the path
*)implicit : bool;
(*
*)implicit = true
avoids having to qualify withcoq_path
has_ml : bool;
(*If
*)has_ml
is true, the directory will also be added to the ml include pathrecursive : bool;
(*
*)recursive
will determine whether we explore sub-directories
}
Adds a path to the Coq and ML paths