package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.7-505.preview.tbz
sha256=a3047606d06580e251ee8acbeb67f80f1d059238f879e187e10de40b4ec61be7
sha512=871f4e8f1111d086985172a9157812d5e22fd746edeffa8bdb5363f5c8cef2308da36a57d989ae77becec32eaa6ea4e8ef67f9b0247cbd409537701644db563f

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.