1234567891011121314151617181920212223242526272829303132(** Module paths in the Lambdapi library. *)openLplibopenBasemodulePath=struct(** Representation of a module name (roughly, a file path). *)typet=stringlist(** [pp ppf p] prints path [p] on the formatter [ppf]. Remark: to be used
in Common only as it does not escape identifiers that need to be
escaped. *)letpp:tpp=Lplib.List.ppstring"."(** [compare] is a standard comparison function on paths. *)letcompare:tcmp=Stdlib.compareendincludePathmoduleSet=Set.Make(Path)moduleMap=Map.Make(Path)(** [ghost s] creates a module path that cannot be entered by a user. *)letghost:string->Path.t=funs->["";s](** [default_dbpath] returns the default path of the index. *)letdefault_dbpath:string=matchSys.getenv_opt"HOME"with|Somes->Filename.concats".LPSearch.db"|None->".LPSearch.db"