[Top][All Lists]

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

Re: Weird Guile Scheme Behaviour

From: Philip K.
Subject: Re: Weird Guile Scheme Behaviour
Date: Wed, 16 Oct 2019 09:48:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Mark H Weaver <address@hidden> 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 makes sense. I totally forgot about the difference between
'(start) and (list 'start).

>       Regards,
>         Mark

Thanks a lot for your response, helped my clear up understanding.

        With kind regards,
        Philip K.

Attachment: signature.asc
Description: PGP signature

reply via email to

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