Subject: Re: Scheme Pre-Interpretor: UPDATE
From: (Rob Warnock)
Date: 1998/10/09
Newsgroups: comp.lang.scheme
Message-ID: <6vkuda$>
Johann Hibschman  <> wrote:
| (Sean Woodward) writes:
| > IN BRIEF: How do you write to Standard Error?
| It depends on which scheme implementation you're using.
| There is no standard method.

While strictly true, in practice nearly every implementation
provides the extension procedure "current-error-port", analogous
to the standard procedure "current-output-port". So the following
is very likely (though not guaranteed) to be portable:

	(display "This is an error message" (current-error-port))
	(newline (current-error-port))


[p.s. Apologies in advance: Email'd replies may get
a "vacation" bounce message while I'm on sabbatical...]

Rob Warnock, 8L-855
Applied Networking
Silicon Graphics, Inc.		Phone: 650-933-1673
2011 N. Shoreline Blvd.		FAX: 650-964-0811
Mountain View, CA  94043	PP-ASEL-IA