scsh-users
[Top] [All Lists]

Re: Nested call-with-xxxput-file

To: "Michael Sperber [Mr. Preprocessor]" <sperber@informatik.uni-tuebingen.de>
Subject: Re: Nested call-with-xxxput-file
From: Roams-Tholf Happe <rthappe@mathematik.uni-freiburg.de>
Date: Tue, 3 Oct 2000 15:08:39 +0200
Cc: Rolf-Thomas Happe <rthappe@balrog.mathematik.uni-freiburg.de>, scsh-bugs@zurich.ai.mit.edu
On 3 Oct 2000, Michael Sperber [Mr. Preprocessor] wrote:
> Failure of this code is to be expected: CALL-WITH-OUTPUT-FILE closes
> the port just prior to returning.  Thus, the (LAMBDA (IP) ...) thunk
> tries to write to a dead port.

Yup, I just noticed this myself.  Before, I didn't read R5RS carefully
enough and misinterpreted the "rationale" (6.6.1, p. 35).

Thanks to you and Olin for the answers.

rthappe



<Prev in Thread] Current Thread [Next in Thread>