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

Re: [Scheme-reports] Write procedure is not backwards compatible

Alex Shinn <alexshinn@x> wrote:

> There are two motivational factors behind write-simple:
> speed and the desire to generate output that does not
> use the reader label notation.  We both agree that
> write-simple is necessary, you're just claiming that
> speed is not as much an issue.

See my comment on the ticket related to this, but it is possible to
have all three (unsafe, safe, shared) in a single WRITE if we use a
parameter to indicate which is wanted. This has precedent in some
Scheme systems. Moreover, I am not convinced that we need the unsafe
version at all, just so long as we have one that only uses labels when
there are cycles. This is the default on Schemes that I have seen
which implement the parameter approach.

Aaron W. Hsu | arcfide@x | http://www.sacrideo.us
Programming is just another word for the lost art of thinking.

Scheme-reports mailing list