stdune

Dune's unstable standard library
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library stdune
Module Stdune . Env
module Var : sig ... end
type t
val hash : t -> int
include Comparable_intf.S with type key := Var.t
module Map : sig ... end
module Set : sig ... end
val equal : t -> t -> bool
val empty : t
val vars : t -> Var.Set.t
val initial : t

The environment when the process started

val to_unix : t -> string list
val of_unix : string array -> t
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:Var.t -> f:( string option -> string option ) -> t
val to_dyn : t -> Dyn.t
val of_string_map : string String.Map.t -> t
val to_map : t -> string Map.t
val iter : t -> f:( string -> string -> unit ) -> unit
val cons_path : t -> dir:Path.t -> t
val path : t -> Path.t list