[r6rs-discuss] Typos
Shiro Kawai
shiro at lava.net
Fri Apr 4 12:01:26 EDT 2008
From: John Cowan <cowan at ccil.org>
Subject: Re: [r6rs-discuss] Typos
Date: Fri, 4 Apr 2008 11:24:33 -0400
> > Actually, coming to think about it more, I don't think this is
> > always desirable. I kind of like errors and calls to exit to
> > just do a hard cold exit and not do any cleanup.
>
> So you use the system call _exit rather than exit, or avoid stdio
> entirely? Because otherwise you are getting flushes by default.
I think the problem is a bit different here; a Scheme implementation
may or may not use stdio, which is in C runtime.
We should think the flushing behavior independently from stdio since
R6RS ports have richer features and interdependencies (e.g. a text
port built on top of a binary port). An error can occur in more
complicated situations than stdio.
--shiro
More information about the r6rs-discuss
mailing list