package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.9.tbz
sha256=de395dd37d246e3ec303e1af35ff8421665fa4f0f0005d95732124b22e3417ac
sha512=74756b28767cdfe10288720540582e818a9d946dd2406606724ebc7b68d1cf6623142e56a1e457f7862839732e7add365aec056930c7ac89be7036c22e5f29ae

doc/merlin-lib.ocaml_utils/Ocaml_utils/Load_path/Dir/index.html

Module Load_path.DirSource

Sourcetype t

Represent one directory in the load path.

Sourceval create : hidden:bool -> string -> t
Sourceval path : t -> string
Sourceval files : t -> string list

All the files in that directory. This doesn't include files in sub-directories of this directory.

Sourceval hidden : t -> bool

If the modules in this directory should not be bound in the initial scope

Sourceval find : t -> string -> string option

find dir fn returns the full path to fn in dir.

Sourceval find_normalized : t -> string -> string option

As find, but search also for uncapitalized name, i.e. if name is Foo.ml, either /path/Foo.ml or /path/foo.ml may be returned.