On Wed, Aug 3, 2022 at 12:59 PM Maxime Devos <maximede...@telenet.be> wrote:

>
> (My unverified hypothesis on why you aren't seeing an error here.)
>
>
>  it would be a big change and very strange :-O if the few lines of code
below in scheme returned an error on lists:

but no restrictions with lists in Guile:
scheme@(guile-user)> (define lst '(1 2 3))
scheme@(guile-user)> (set-car! lst 7)
scheme@(guile-user)> lst
(7 2 3)

i wanted to add this link to my previous post:
https://icem.folkwang-uni.de/~finnendahl/cm_kurse/doc/schintro/schintro_38.html
it is interesting ,at the end of page it says too that modifying quoted
litteral should create an error :-O

Regards,
Damien

Reply via email to