From unknown Sat Sep 06 02:32:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75364: Manual: Alist example does not work Resent-From: Jens Egon Nyborg Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 04 Jan 2025 17:47:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75364 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 75364@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173601280916353 (code B ref -1); Sat, 04 Jan 2025 17:47:05 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jan 2025 17:46:49 +0000 Received: from localhost ([127.0.0.1]:57149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU8Ea-0004Fh-Pq for submit@debbugs.gnu.org; Sat, 04 Jan 2025 12:46:49 -0500 Received: from lists.gnu.org ([2001:470:142::17]:37822) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU6Yl-0007av-4s for submit@debbugs.gnu.org; Sat, 04 Jan 2025 10:59:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU6Yf-0001CJ-0F for bug-guile@gnu.org; Sat, 04 Jan 2025 10:59:25 -0500 Received: from mailrelay2-2.pub.mailoutpod2-cph3.one.com ([2a02:2350:5:407::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU6Yc-0000w2-TD for bug-guile@gnu.org; Sat, 04 Jan 2025 10:59:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1736006355; x=1736611155; d=puggaard-nyborg.dk; s=rsa2; h=subject:from:to:mime-version:date:message-id:content-type:from; bh=LR4ek0/F3dcNc91xUoD2xPycVXuVZop8WOt08XdRM1w=; b=kTUkCJzgxdkxN4/5lQJboUOZlxGaf+YAoR4cBc7U4iTD5ty0seby1XsSEv6ziM7+8DJhjrCbme6v4 55Ryb6e1xi/kvHpKFqXQ9B53wsBHRGVuZPIkvXRslh1K/G4tYinHkdkiRUprFmC2AZ0gGp02zFccCs Rh05ZHv2Gqo0x1kCnXZ+DXrgbK0d9zfmAckMdKMmP2q/yt1NOnvkUHrwF7D/gpWC8EZ66S3cAL8BoW XiOQ6p2hOLBcbCS+UnKpSgKv7gDtAwcHAyQvhOCOxkwKHfR/s1V0leAfcbQs3qaoRlrEa0UxRnNE4S bzruA3+Z32bk/WkI5vNFI04oIYqASuQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1736006355; x=1736611155; d=puggaard-nyborg.dk; s=ed2; h=subject:from:to:mime-version:date:message-id:content-type:from; bh=LR4ek0/F3dcNc91xUoD2xPycVXuVZop8WOt08XdRM1w=; b=xOJBUzCq0tE5eRhk/AGbdzVK7jtz2Kp7SXB6cJ+wxc0XPE+0abYGHP0eey/obSEm03VOF5JmXDh4E lOasf+lCw== X-HalOne-ID: d8bafaee-cab4-11ef-b495-09b8706f39fe Received: from [10.0.0.148] (085081063084.dynamic.telenor.dk [85.81.63.84]) by mailrelay2.pub.mailoutpod2-cph3.one.com (Halon) with ESMTPSA id d8bafaee-cab4-11ef-b495-09b8706f39fe; Sat, 04 Jan 2025 15:59:15 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------2CDL9AlrzsKUBJdy0vS0DZhv" Message-ID: Date: Sat, 4 Jan 2025 16:59:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Jens Egon Nyborg Received-SPF: none client-ip=2a02:2350:5:407::1; envelope-from=jens@puggaard-nyborg.dk; helo=mailrelay2-2.pub.mailoutpod2-cph3.one.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Sat, 04 Jan 2025 12:46:47 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------2CDL9AlrzsKUBJdy0vS0DZhv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I run (define capitals '(("New York" . "Albany") ("Oregon" . "Salem") ("Florida" . "Miami"))) followed by (set! capitals (assoc-set! capitals "Florida" "Tallahassee")) and get "ice-9/boot-9.scm:1676:22: In procedure raise-exception: In procedure set-cdr!: Wrong type argument in position 1 (expecting mutable pair): ("Florida" . "Miami") Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue." (In geiser in emacs on Arch) Warning: In my own code it actually worked on and off. Work-around: Use (define capitals (list (cons "New York" "Albany") (cons "Oregon" . "Salem") (cons "Florida" . "Miami"))) apparently quoted lists are not mutable! --------------2CDL9AlrzsKUBJdy0vS0DZhv Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

I run 

(define capitals '(("New York" . "Albany")
                   ("Oregon"   . "Salem")
                   ("Florida"  . "Miami")))

followed by

(set! capitals
      (assoc-set! capitals "Florida" "Tallahassee"))

and get

"ice-9/boot-9.scm:1676:22: In procedure raise-exception:
In procedure set-cdr!: Wrong type argument in position 1 (expecting mutable pair): ("Florida" . "Miami")

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue."


(In geiser in emacs on Arch)

Warning: In my own code it actually worked on and off.

Work-around: Use

(define capitals (list (cons "New York"  "Albany")
                       (cons "Oregon"   . "Salem")
                       (cons "Florida"  . "Miami")))

apparently quoted lists are not mutable!

--------------2CDL9AlrzsKUBJdy0vS0DZhv-- From unknown Sat Sep 06 02:32:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75364: Manual: Alist example does not work References: In-Reply-To: Resent-From: dsmich@roadrunner.com Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 04 Jan 2025 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75364 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: "'Jens Egon Nyborg'" Cc: "'75364@debbugs.gnu.org'" <75364@debbugs.gnu.org> Received: via spool by 75364-submit@debbugs.gnu.org id=B75364.173602605522671 (code B ref 75364); Sat, 04 Jan 2025 21:28:01 +0000 Received: (at 75364) by debbugs.gnu.org; 4 Jan 2025 21:27:35 +0000 Received: from localhost ([127.0.0.1]:57707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUBgF-0005tb-Ek for submit@debbugs.gnu.org; Sat, 04 Jan 2025 16:27:35 -0500 Received: from p-impout008aa.msg.pkvw.co.charter.net ([47.43.26.139]:41824 helo=p-impout008.msg.pkvw.co.charter.net) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUBgB-0005tK-Um for 75364@debbugs.gnu.org; Sat, 04 Jan 2025 16:27:34 -0500 Received: from localhost ([34.233.51.36]) by cmsmtp with ESMTP id UBg3tNggYJTRSUBg4tcVoz; Sat, 04 Jan 2025 21:27:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=roadrunner.com; s=c20240129; t=1736026045; bh=Bqkevws5/JfLI4j7K0uMjWByEUDyiMhumwsksKgymrE=; h=From:To:Cc:Subject:Date; b=A4PkEPOU2J7xvDqtARStwXtDraND/AL7+EmZweYvY8VSKpVGWPae+X46idOpcV9+M r9+eKKvkWgAuZfMW6y5Wr6M3bfml2M2JOE1yjWlix8ufOaQkA7t7HGRrurhowu9/2h jlfgHjIpmImnD3FagfvrxOwyitfBc2aHJAIHiOmxRVzbzFVXFsO1xxPLrKmuf/g4X3 +pNZylBrvLU9629iJfTyywaPtWwnQ20AYC/7V6ovpzjEIew/mmZYUKAWKq5wvEAe0W 8RatNvASs7xPUtEG5sT3Pnpa2HfTa0gdcySrP79ewmebeGM0EYzvV0kLlaUP7Tq6ka uYdM8MU+r8bdw== X-Authority-Analysis: v=2.4 cv=K7AkHTWI c=1 sm=1 tr=0 ts=6779a7bd a=TrnfHZhGi+cGSPqA0dbxTQ==:117 a=TrnfHZhGi+cGSPqA0dbxTQ==:17 a=EScLTZUBPM0A:10 a=abCwip6CahUu22MrP7gA:9 a=QEXdDO2ut3YA:10 a=jO8D96mzNU7dq3FxsSYA:9 a=_W_S_7VecoQA:10 a=UQTW1xb0v1gEbYv-OOGd:22 a=XEei0fUe94P07zesPF8B:22 Message-Id: <6c1d61b225f5b638f47efe67e46396edbdce8b63@webmail> From: dsmich@roadrunner.com X-Mailer: Atmail X-Originating-IP: [24.29.202.168] X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Date: Sat, 04 Jan 2025 21:27:23 +0000 Content-Type: multipart/alternative; boundary="=_1c08b0d16c0ea13d2e955f78b13beed6" MIME-Version: 1.0 X-CMAE-Envelope: MS4xfHi1WHvMkNZT2Zf+8A+6PzXqFotJoPO8gbDmSgbHStHLnHHrsTd/ImGKi6WkVr18hMmb2JCxM1+S1ee1EdCz8og90wigLVs6w2bAZPEjDMDVqHsj/4df l3E6dS3eiRszCq6SRIxOlbgSMJx49r7l1ETG2tgDyYII0ss1ZDt0Zdw/udoXIUDXvq+sSPTAElqRi7/dr3QMXXQOi7YThuLJW0wT38Xe4kukQl7q7rB2mvT2 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=_1c08b0d16c0ea13d2e955f78b13beed6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable From: "Jens Egon Nyborg" =0A=0A=09> apparently quoted lists are not muta= ble!=0A=0A=09True=0A=0A=09-Dale=0A --=_1c08b0d16c0ea13d2e955f78b13beed6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable From: "Jens Egon Nyborg"

>= ; apparently quoted lists are not mutable!

True


-= Dale

=0A
--=_1c08b0d16c0ea13d2e955f78b13beed6-- From unknown Sat Sep 06 02:32:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jens Egon Nyborg Subject: bug#75364: closed (Re: bug#75364: Manual: Alist example does not work) Message-ID: References: <5EE66450-E579-43C1-9518-7C02B5770B40@sarc.name> X-Gnu-PR-Message: they-closed 75364 X-Gnu-PR-Package: guile Reply-To: 75364@debbugs.gnu.org Date: Sat, 04 Jan 2025 23:35:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1736033702-12239-1" This is a multi-part message in MIME format... ------------=_1736033702-12239-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #75364: Manual: Alist example does not work which was filed against the guile package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 75364@debbugs.gnu.org. --=20 75364: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75364 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1736033702-12239-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75364-done) by debbugs.gnu.org; 4 Jan 2025 23:34:50 +0000 Received: from localhost ([127.0.0.1]:57936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUDfN-0003Aq-II for submit@debbugs.gnu.org; Sat, 04 Jan 2025 18:34:49 -0500 Received: from mta-10-4.privateemail.com ([198.54.122.149]:39741) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUDfJ-0003Ab-VH for 75364-done@debbugs.gnu.org; Sat, 04 Jan 2025 18:34:47 -0500 Received: from mta-10.privateemail.com (localhost [127.0.0.1]) by mta-10.privateemail.com (Postfix) with ESMTP id 4YQcH248kcz3hhV4; Sat, 4 Jan 2025 18:34:38 -0500 (EST) Received: from [192.168.1.16] (unknown [51.154.167.214]) by mta-10.privateemail.com (Postfix) with ESMTPA; Sat, 4 Jan 2025 18:34:36 -0500 (EST) From: lloda Message-Id: <5EE66450-E579-43C1-9518-7C02B5770B40@sarc.name> Content-Type: multipart/alternative; boundary="Apple-Mail=_6D864A53-9D0D-4BB1-8D33-9DD67D217DB6" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: bug#75364: Manual: Alist example does not work Date: Sun, 5 Jan 2025 00:34:32 +0100 In-Reply-To: To: Jens Egon Nyborg References: X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75364-done Cc: 75364-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Apple-Mail=_6D864A53-9D0D-4BB1-8D33-9DD67D217DB6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii This is a duplicate of https://bugs.gnu.org/32841 = which was fixed in = 818b879b2e481943340e86dbb5b93f12021206c5. The online manual should update when 3.0.11 is released.=20 Regards= --Apple-Mail=_6D864A53-9D0D-4BB1-8D33-9DD67D217DB6 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
This is a duplicate of  https://bugs.gnu.org/32841 which was fixed in 818b879b2e481943340e86dbb5b93f12021206c5.

The online manual should update when 3.0.11 is released. 

Regards
--Apple-Mail=_6D864A53-9D0D-4BB1-8D33-9DD67D217DB6-- ------------=_1736033702-12239-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Jan 2025 17:46:49 +0000 Received: from localhost ([127.0.0.1]:57149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU8Ea-0004Fh-Pq for submit@debbugs.gnu.org; Sat, 04 Jan 2025 12:46:49 -0500 Received: from lists.gnu.org ([2001:470:142::17]:37822) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU6Yl-0007av-4s for submit@debbugs.gnu.org; Sat, 04 Jan 2025 10:59:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU6Yf-0001CJ-0F for bug-guile@gnu.org; Sat, 04 Jan 2025 10:59:25 -0500 Received: from mailrelay2-2.pub.mailoutpod2-cph3.one.com ([2a02:2350:5:407::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU6Yc-0000w2-TD for bug-guile@gnu.org; Sat, 04 Jan 2025 10:59:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1736006355; x=1736611155; d=puggaard-nyborg.dk; s=rsa2; h=subject:from:to:mime-version:date:message-id:content-type:from; bh=LR4ek0/F3dcNc91xUoD2xPycVXuVZop8WOt08XdRM1w=; b=kTUkCJzgxdkxN4/5lQJboUOZlxGaf+YAoR4cBc7U4iTD5ty0seby1XsSEv6ziM7+8DJhjrCbme6v4 55Ryb6e1xi/kvHpKFqXQ9B53wsBHRGVuZPIkvXRslh1K/G4tYinHkdkiRUprFmC2AZ0gGp02zFccCs Rh05ZHv2Gqo0x1kCnXZ+DXrgbK0d9zfmAckMdKMmP2q/yt1NOnvkUHrwF7D/gpWC8EZ66S3cAL8BoW XiOQ6p2hOLBcbCS+UnKpSgKv7gDtAwcHAyQvhOCOxkwKHfR/s1V0leAfcbQs3qaoRlrEa0UxRnNE4S bzruA3+Z32bk/WkI5vNFI04oIYqASuQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1736006355; x=1736611155; d=puggaard-nyborg.dk; s=ed2; h=subject:from:to:mime-version:date:message-id:content-type:from; bh=LR4ek0/F3dcNc91xUoD2xPycVXuVZop8WOt08XdRM1w=; b=xOJBUzCq0tE5eRhk/AGbdzVK7jtz2Kp7SXB6cJ+wxc0XPE+0abYGHP0eey/obSEm03VOF5JmXDh4E lOasf+lCw== X-HalOne-ID: d8bafaee-cab4-11ef-b495-09b8706f39fe Received: from [10.0.0.148] (085081063084.dynamic.telenor.dk [85.81.63.84]) by mailrelay2.pub.mailoutpod2-cph3.one.com (Halon) with ESMTPSA id d8bafaee-cab4-11ef-b495-09b8706f39fe; Sat, 04 Jan 2025 15:59:15 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------2CDL9AlrzsKUBJdy0vS0DZhv" Message-ID: Date: Sat, 4 Jan 2025 16:59:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: bug-guile@gnu.org Content-Language: en-US From: Jens Egon Nyborg Subject: Manual: Alist example does not work Received-SPF: none client-ip=2a02:2350:5:407::1; envelope-from=jens@puggaard-nyborg.dk; helo=mailrelay2-2.pub.mailoutpod2-cph3.one.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 04 Jan 2025 12:46:47 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------2CDL9AlrzsKUBJdy0vS0DZhv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I run (define capitals '(("New York" . "Albany") ("Oregon" . "Salem") ("Florida" . "Miami"))) followed by (set! capitals (assoc-set! capitals "Florida" "Tallahassee")) and get "ice-9/boot-9.scm:1676:22: In procedure raise-exception: In procedure set-cdr!: Wrong type argument in position 1 (expecting mutable pair): ("Florida" . "Miami") Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue." (In geiser in emacs on Arch) Warning: In my own code it actually worked on and off. Work-around: Use (define capitals (list (cons "New York" "Albany") (cons "Oregon" . "Salem") (cons "Florida" . "Miami"))) apparently quoted lists are not mutable! --------------2CDL9AlrzsKUBJdy0vS0DZhv Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

I run 

(define capitals '(("New York" . "Albany")
                   ("Oregon"   . "Salem")
                   ("Florida"  . "Miami")))

followed by

(set! capitals
      (assoc-set! capitals "Florida" "Tallahassee"))

and get

"ice-9/boot-9.scm:1676:22: In procedure raise-exception:
In procedure set-cdr!: Wrong type argument in position 1 (expecting mutable pair): ("Florida" . "Miami")

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue."


(In geiser in emacs on Arch)

Warning: In my own code it actually worked on and off.

Work-around: Use

(define capitals (list (cons "New York"  "Albany")
                       (cons "Oregon"   . "Salem")
                       (cons "Florida"  . "Miami")))

apparently quoted lists are not mutable!

--------------2CDL9AlrzsKUBJdy0vS0DZhv-- ------------=_1736033702-12239-1--