Mark H Weaver writes:
> The problem here is that '(start) is a *literal* list, and it's an error
> to modify literals in Scheme. In other words, modifying a literal
> results in undefined behavior. Like C string literals, Scheme literals
> are actually part of the program text itself.
Ah, that
Hi Philip,
phi...@warpmail.net (Philip K.) writes:
> I was reading a thread on an imageboard[0] the other day, then I came
> across a most peculiar "bug", if it even is one. Since the original
> example was a bit dense (it tried to solve a problem someone else had
> posted, that's not relevant he
Philip,
On Fri, Sep 13, 2019 at 11:43:06AM +0200, Philip K. wrote:
>
> Hi,
>
> I was reading a thread on an imageboard[0] the other day, then I came
> across a most peculiar "bug", if it even is one. Since the original
> example was a bit dense (it tried to solve a problem someone else had
> p
Correct usage of append! usually requires (set! x (append! x )),
despite what you might think from the !. I haven't read the rest of your
email carefully, but I wonder if that will make a difference?
Best wishes,
Neil
On Fri, 13 Sep 2019 at 13:39, Philip K. wrote:
>
> Hi,
>
> I was re
Hi,
I was reading a thread on an imageboard[0] the other day, then I came
across a most peculiar "bug", if it even is one. Since the original
example was a bit dense (it tried to solve a problem someone else had
posted, that's not relevant here), I tried to construct a minimal
working example to