On Thu, Sep 10, 2009 at 7:55 PM, Eli Barzilay <e...@barzilay.org> wrote:

>> Would a function like (environment->alist) be the desirable way to
>> access the full environment?
>
> IMO it would be simpler to have a function that returns a list of
> environment variable names, but it's probably a good idea to look
> around and see what other implementations (and other languages) do.

Not sure which implementations matter but...

Scheme48 has (environment-alist)

  http://www.s48.org/0.57/manual/s48manual_68.html

Gauche has (sys-environ) (sys-environ->alist)

  http://practical-scheme.net/gauche/man/gauche-refe_60.html#Environment-Inquiry

Peter
_________________________________________________
  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-dev

Reply via email to