Module B00_ocaml.Ocamlpath

OCAMLPATH search path.

FIXME, maybe this should be a store key.

val get : B00.Memo.t -> B0_std.Fpath.t list option -> B0_std.Fpath.t list B0_std.Fut.t

get m o k is k ps if o is Some ps and otherwise in order:

  1. If the OCAMLPATH environment variable is defined in m and non-empty its content is parsed s according to B0_std.Fpath.list_of_search_path.
  2. If the OPAM_SWITCH_PREFIX environment variable is defined with a path P then [P/lib] is used.
  3. The memo fails.