Re: [Scheme-reports] Question about R6RS standard-{input, output, error}-port John Cowan 25 Nov 2013 18:09 UTC

leppie scripsit:

> In some implementations like IronScheme and I think Chez,
> current-output-port and friends are defined as 'parameters'.

That's supposed to always be true in Schemes that support SRFI 39, and
likewise in R7RS.

> I think the reasoning here was that in case the current-xxx-port was
> parameterized or changed, some other part of the application could still
> get a default port in case something has changed on it (buffering, colors,
> etc).

Just so.

--
John Cowan   cowan@ccil.org
    "Mr. Lane, if you ever wish anything that I can do, all you will have
        to do will be to send me a telegram asking and it will be done."
    "Mr. Hearst, if you ever get a telegram from me asking you to do
        anything, you can put the telegram down as a forgery."

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports