Re: set-environment-variable hga@xxxxxx 07 Dec 2019 15:06 UTC

After accepting the PR, following my MO I'm implementing it in Chibi
Scheme.  Turns out POSIX gives us an option not exposed by this or
other Scheme APIs I've glanced at, an overwrite argument, see:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/setenv.html

> If the environment variable named by envname already exists and the
> value of overwrite is non-zero, the function shall return success
> and the environment shall be updated. If the environment variable
> named by envname already exists and the value of overwrite is zero,
> the function shall return success and the environment shall remain
> unchanged.

It is worthwhile to add this to the SRFI 170 API, as, say, an
optional argument, defaulting to overwrite?

- Harold

----- Original message -----
From: Lassi Kortela <xxxxxx@lassi.io>
Date: Friday, December 06, 2019 2:40 PM

> Can you prepare a PR against Harold's repo, at least for the document?

PR sent to Harold: <https://github.com/hga/srfi-170/pull/3>