package dune

  1. Overview
  2. Docs
Fast, portable and opinionated build system

Install

Dune Dependency

Authors

Maintainers

Sources

dune-1.6.3.tbz
sha256=bfd52160d88578c404af1267abfba6eb4928988e51aef0e92dbebdea1607ae36
md5=1212a36547d25269675d767c38fecf5f

doc/dune._stdune/Stdune/Env/index.html

Module Stdune.Env

module Var : sig ... end
type t
module Map : Map.S with type key = Var.t
val empty : t
val vars : t -> Var.Set.t
val initial : t

The environment when the process started

val to_unix : t -> string array
val get : t -> Var.t -> string option
val extend : t -> vars:string Map.t -> t
val extend_env : t -> t -> t
val add : t -> var:Var.t -> value:string -> t
val remove : t -> var:Var.t -> t
val diff : t -> t -> t
val update : t -> var:string -> f:(string option -> string option) -> t
val to_sexp : t -> Sexp.t
val of_string_map : string String.Map.t -> t
val iter : t -> f:(string -> string -> unit) -> unit
val pp : Format.formatter -> t -> unit
val cons_path : t -> dir:Path.t -> t
val path : t -> Path.t list
OCaml

Innovation. Community. Security.