package omod

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

Install

Dune Dependency

Authors

Maintainers

Sources

omod-0.0.4.tbz
sha512=cab9e8ab6ca6e836fdaa3dcf9552d31e4de2bf069fcab096c1565d204ff91fc3516cd017a13702d749580bd3563c462db3277ab036cfc5d3cb9703a08ddbb927

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

Module Omod_support.Conf

Omod configuration.

type t

The type for configuration.

val 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.

val cache : t -> Omod.fpath

cache c is c's cache directory.

val libdir : t -> Omod.fpath

libdir c is c's library directory.

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

pp formats configurations.

Environment variables

val cache_env : string

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

val libdir_env : string

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

OCaml

Innovation. Community. Security.