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

Re: Updated versions of SRFI 117 and 121

This page is part of the web mail archives of SRFI 117 from before July 7th, 2015. The new archives for SRFI 117 contain all messages, not just those from before July 7th, 2015.



Takashi Kato scripsit:

> About list-queue-append!: what does destroy mean? More precisely, what should 
> happen when destroyed queues are used? Should it be an error or the behaviour
> is unspecified?

"Is an error" (which the standard uses) and "behavior is unspecified"
(which is used by the C/C++ standards, and maybe we should switch to it
in R8RS) mean the same thing: the implementation can do what it likes,
and the user cannot rely on the results.

So what's meant is that the user can't rely on the contents of the queues
passed to this procedure.

-- 
John Cowan          http://www.ccil.org/~cowan        cowan@xxxxxxxx
We want more school houses and less jails; more books and less arsenals;
more learning and less vice; more constant work and less crime; more
leisure and less greed; more justice and less revenge; in fact, more of
the opportunities to cultivate our better natures.  --Samuel Gompers