Re:SRFI-96 and SRFI-98 higepon (06 Jul 2008 10:06 UTC)
Re: SRFI-96 and SRFI-98 Aubrey Jaffer (06 Jul 2008 20:44 UTC)
Re: SRFI-96 and SRFI-98 higepon (08 Jul 2008 01:56 UTC)
Re: SRFI-96 and SRFI-98 Aubrey Jaffer (08 Jul 2008 02:48 UTC)
Re: SRFI-96 and SRFI-98 Alexey Radul (08 Jul 2008 04:03 UTC)

Re: SRFI-96 and SRFI-98 Aubrey Jaffer 08 Jul 2008 02:48 UTC

 | Date: Tue, 8 Jul 2008 10:56:44 +0900
 | From: higepon <xxxxxx@gmail.com>
 |
 | > Will an implementation having getenv but not environ be SRFI-98
 | > compliant?
 |
 | I don't think so.
 |
 | > Although many useful Scheme programs have been written
 | > using getenv; I have yet to see one which requires "environ".
 |
 | On CGI application, I want to check all the environ variables for
 | debug usage.  Some Web servers don't pass all the environment
 | variables to CGI application.

Exactly my point; environ is useful for debugging.  For that purpose
it doesn't need to be precisely specified or mandated.  For debugging,
it would be just as useful if (environ) printed out the environment
table rather than returning a Scheme structure [and more convenient to
type than (for-each (lambda (pr) (write pr) (newline)) (getenv))].
Consider the "room" function of Common-Lisp:
http://www-2.cs.cmu.edu/Groups/AI/html/hyperspec/HyperSpec/Body/fun_room.html