From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: philip@warpmail.net (Philip K.) Newsgroups: gmane.lisp.guile.user Subject: Re: Weird Guile Scheme Behaviour Date: Wed, 16 Oct 2019 09:48:47 +0200 Message-ID: <87eezdb068.fsf@bulbul> References: <87pnk4v8et.fsf@bulbul> <87sgntqj0l.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="251208"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: guile-user@gnu.org To: Mark H Weaver Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Oct 16 09:49:16 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iKe3V-0013A5-AR for guile-user@m.gmane.org; Wed, 16 Oct 2019 09:49:13 +0200 Original-Received: from localhost ([::1]:38466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKe3U-0004iX-3U for guile-user@m.gmane.org; Wed, 16 Oct 2019 03:49:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40221) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKe3C-0004iN-B1 for guile-user@gnu.org; Wed, 16 Oct 2019 03:48:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKe3B-0003YA-DD for guile-user@gnu.org; Wed, 16 Oct 2019 03:48:54 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58923) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iKe3A-0003Wh-VG for guile-user@gnu.org; Wed, 16 Oct 2019 03:48:53 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 46C0B21B1B; Wed, 16 Oct 2019 03:48:51 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 16 Oct 2019 03:48:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=warpmail.net; h= from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=fm1; bh=RvOWDXvZXDvYS7Zr8wAjba6nh4 weYVb60yAN0kuse4o=; b=Zz9LFynVwBIA5VfZkvtomzkhfKQ4I6tvPrMzlMTwU9 5slYTMnbFWYr9AGaEmiJyQ7Vk4eCgGoUsFdadjVW5fJJVSEDqI++o163sbung08f ezYK4L2Dq1V8KOunz3VnigpfG65lgl564HDjvDW0zFJAMR89X0LiOsmzbWWCuiTg j4OQTIwNEDsxJAEVGzJgEVVJ2ub+76ZLwRDfcMvxAp79mbRv+PJ5xj3/A46GrnG1 fR8V9tybaDj7WGE3qIafUMlGYopC5L0Zgg2TneM/p+8E9xxN21FBLGTE1YHnhJsN Ae1yzutT05x+6FDoX+D6Uur6BpSuxEl/II+sAGTbmqgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=RvOWDX vZXDvYS7Zr8wAjba6nh4weYVb60yAN0kuse4o=; b=GOV6MFJqjfg31oi6VieU7E tYiPgpVMOx9bB2r13LDPReuZgpSyxbCeOY36sqmL6+w3jpJPUwXbi+zhC6o2QEc6 nWrnVomudbpmkuxduocWKAAWP3+6uP1EsRwDwOK/kEX7xkEbxhiAI3sSXPoTNcdh Asf4Hr6Opcio6puC0GvNlXympiM3IN8uraF302n17qxBjrNzj2KX/+T/QXtrBALP oVsTTrpZVIrG+X6ZoZGBI8Ifk23mzbTkkjrJNNGJGE2OGztY99K9R7L4LcANTy7u szaQ4y5aZR5O7iAY3s9yUpDI7mXB8zDIeP7ye4xup6hMpwRtF6gCwmzPxJLOajLg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrjeeggdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgesghdtre ertdertdenucfhrhhomhepphhhihhlihhpseifrghrphhmrghilhdrnhgvthculdfrhhhi lhhiphcumfdrmdenucfkphepkeejrddugeehrddurdelleenucfrrghrrghmpehmrghilh hfrhhomhepphhhihhlihhpseifrghrphhmrghilhdrnhgvthenucevlhhushhtvghrufhi iigvpedt X-ME-Proxy: Original-Received: from localhost (p57910163.dip0.t-ipconnect.de [87.145.1.99]) by mail.messagingengine.com (Postfix) with ESMTPA id AA256D6005E; Wed, 16 Oct 2019 03:48:50 -0400 (EDT) In-Reply-To: <87sgntqj0l.fsf@netris.org> (Mark H. Weaver's message of "Wed, 16 Oct 2019 02:52:15 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.25 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15741 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 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. =2D-=20 With kind regards, Philip K. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEXEVvqaSeWykH0GvsTLppj2Aa7OEFAl2my18ACgkQTLppj2Aa 7OHAgQf9FS3j996Sx9QocJXrNgCSc8vUnoUBL78nbHBy9899JGWcCh8IebTygQX/ TIrCuPuCvcgHQ1YNEhty/rC8Q+RxgMLbD6/Y8qDeG5pZojRSyvKkgArk52YsV2f6 X+ptRXBZOkSF4xMuLM+7pgNEAnMulijEEc5FZwGSSpviAaujVB8y8jAYdhDWoOLM ur1ocFPYSQcHx7s7UtlUWky6qRS5eRJZhZWeUwbXm18nk2amK4B39w5rm8THgtZP UIY23KPMOYD5v2Wk3RQhWXprklzFOPFtWZBm/fDfNq/VSgaGRBZ6Y/b3L3plJs2n PV2DPm6/Y76q0jwttTVLnfQglx9zuA== =1Kzx -----END PGP SIGNATURE----- --=-=-=--