guile-devel
[Top][All Lists]
Advanced

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

Re: documentation.scm close files


From: Kevin Ryde
Subject: Re: documentation.scm close files
Date: Sat, 24 May 2003 07:20:32 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

Marius Vollmer <address@hidden> writes:
>
> What about saying something about 'with-input-from', etc.
> That's probably the easiest way to ensure that ports are closed even
> in the case of errors.

Except that with-input-from-file and call-with-input-file don't
guarantee to close on error, do they?  :-)

Due to being let's not dynamic-wind of course, if I'm looking at the
right code in r4rs.scm.  Presumably this is deliberate, so
continuations can be captured and still use the port.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]