[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getenv

This page is part of the web mail archives of SRFI 22 from before July 7th, 2015. The new archives for SRFI 22 contain all messages, not just those from before July 7th, 2015.

>>>>> "Marc" == Marc Feeley <feeley@xxxxxxxxxxxxxxxx> writes:

Marc> One more comment.  I really think the SRFI will be much more useful
Marc> if you specify a "getenv" procedure, with the following prototype:

Marc> (getenv variable [default-value])

Marc> Variable must be a string naming an environment variable.  The result
Marc> is the value of the environment variable as a string.  If the variable
Marc> does not exist then the default-value is returned if specified,
Marc> otherwise it is an error (an exception is raised or an error is
Marc> signaled).

Martin and I discussed this, but decided against putting it in SRFI
22.  We plan to do separate SRFI on this, and fully expect
implementations which support SRFI 22 to also support that SRFI.  This
way, the environment SRFI can be shared among different operating

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla