From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Mattei Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: string is read-only Date: Wed, 3 Aug 2022 13:34:49 +0200 Message-ID: References: <8294f792-cdb6-46a4-899a-f0a23e67b249@telenet.be> <1371f495-e708-b441-ff9c-8beb9f667573@telenet.be> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27875"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user , guile-devel To: Maxime Devos Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Aug 03 13:36:02 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJCfR-000744-QN for guile-user@m.gmane-mx.org; Wed, 03 Aug 2022 13:36:01 +0200 Original-Received: from localhost ([::1]:33340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJCfQ-00036S-0z for guile-user@m.gmane-mx.org; Wed, 03 Aug 2022 07:36:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJCeW-0002xZ-T6; Wed, 03 Aug 2022 07:35:07 -0400 Original-Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:41770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJCeV-00036p-5G; Wed, 03 Aug 2022 07:35:04 -0400 Original-Received: by mail-lf1-x12f.google.com with SMTP id t1so25963919lft.8; Wed, 03 Aug 2022 04:35:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=204+j007EE14/MfZNemsCOxmuOdDyxEj1AuBAK8zpp4=; b=aetIXjInFRM+DaGcYt2p3Kli5q/SwF66K8vTeBRj6d67c/E9/xMNz0AgAZmnL3mke6 MlQzkqyNZVjGwjwF1zu32t7mF8Yt+Y2yqvN+KaYXdo2M8TK9EVe6FePqcYmofgydY+sq iwc9NzBXtiZ7b08p3bgFrXN8gtUEj5R7xDUHBVmBgdr5GhewvA2Hkxl/GMcK3hJTFcoJ FTmeI5PJsLUgTpi435yLkJDPeW7LbB37A2k1PFDenSVIiWTg7wEocjZuwcpza6Htxs0v 69G1dqUr0XNj7q4hVWrY6CCbsGwbAImh69KbKA1n4ywFyqlQHH3/tNMxtrT9AVS0T2eT p1tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=204+j007EE14/MfZNemsCOxmuOdDyxEj1AuBAK8zpp4=; b=fDQy9bqceNNC63RC/MA5EWFWdWkfY2DGL9cQmA0mgS8uZXNziKHIk5YUAf1FhMscNy 3jKoMB2EANygpxfegytqGzShotYGuU3S3RjvNL6/P9BxwXDuQBYPodeeNSvh2U2kFnvJ BnUSj32wrL3+3iKtQUHSeF9d8eTIPmVa20DhNhIDa/WoxJNJ7VBWG3rxo6toqCApfBl9 oLjkOysQpyXE52BPFJQhq1HoAjIWomV9T1xDVOlSIeMv3QcK4zjPRmGXWHNXSIzW8G06 CNdC1Cq6B08oa/v9W41QKCdrwfqt7Tiu8YiXc8Wb9nUIwYZzj6Iup6lJQnNPbRTfUZMI hKbw== X-Gm-Message-State: ACgBeo1a1M3MvzQwZ+vf3dxpuU1UQMYYFaDdq4VmjqNr0i6FZGKwD3Wb suauDoJ1we4++SfXK1MdgMbPdy66vQPJzgR3S8HZ23hNQdc= X-Google-Smtp-Source: AA6agR6mV+bt0HU5MWR/HWLxQqPZDz5D3jTB2gN5c09Cn8xXEqK1c1u3YJfjXaFD3MAOo9Cyb6FY6Gcn3aFOL1gIJBw= X-Received: by 2002:ac2:48b9:0:b0:48b:2464:635 with SMTP id u25-20020ac248b9000000b0048b24640635mr577860lfg.581.1659526501164; Wed, 03 Aug 2022 04:35:01 -0700 (PDT) In-Reply-To: <1371f495-e708-b441-ff9c-8beb9f667573@telenet.be> Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=damien.mattei@gmail.com; helo=mail-lf1-x12f.google.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18482 gmane.lisp.guile.devel:21288 Archived-At: On Wed, Aug 3, 2022 at 12:59 PM Maxime Devos 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