W Wrapl, The Programming Language

Libraries Sys.Environ


Get(name @ Std.String.T) : Std.String.T

Gets the value of the environment variable name if it is defined, fails otherwise.

GetCwd() : Std.String.T

Returns the current working directory.

Set(name @ Std.String.T, value @ Std.String.T)

Sets name = value in the current environment.

SetCwd(dir @ Std.String.T)

Changes the current directory to dir.