[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Question about R6RS standard-{input, output, error}-port



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@x
    "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@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports