package omod

  1. Overview
  2. Docs
Lookup and load installed OCaml modules

Install

dune-project
 Dependency

Authors

Maintainers

Sources

omod-0.0.5.tbz
sha512=ba4922a3ff0c549a288908d0506ad8e53a0b256c3c564987a8026c6619f2ce5025d930671452caa250d2e23234b6aa29a5fb0b138ada37cb8a1d535c2968ba24

doc/omod.support/Omod_support/Conf/index.html

Module Omod_support.ConfSource

Omod configuration.

Sourcetype t

The type for configuration.

Sourceval v : ?cache:Omod.fpath -> ?libdir:Omod.fpath -> unit -> (t, string) result

v ~libdir ~cache () is a configuration with given cache and libdir. If unspecified they are discovered.

Sourceval cache : t -> Omod.fpath

cache c is c's cache directory.

Sourceval libdir : t -> Omod.fpath

libdir c is c's library directory.

Sourceval pp : Format.formatter -> t -> unit

pp formats configurations.

Environment variables

Sourceval cache_env : string

cache_env is the environment variable that can be used to define an cache directory.

Sourceval libdir_env : string

libdir_env is the environment variable that can be used to define a libdir.