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


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.

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

(getenv variable [default-value])

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

A "putenv" procedure is much less interesting for SRFI 22.  It is only
if you have the ability to spawn sub-processes that it becomes useful,
and that's probably best left to another SRFI.