From unknown Tue Jun 17 20:14:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#76544 <76544@debbugs.gnu.org> To: bug#76544 <76544@debbugs.gnu.org> Subject: Status: quasi-quote "ooo" pattern not work Reply-To: bug#76544 <76544@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:14:45 +0000 retitle 76544 quasi-quote "ooo" pattern not work reassign 76544 guile submitter 76544 Jinn Suu severity 76544 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 25 05:11:45 2025 Received: (at submit) by debbugs.gnu.org; 25 Feb 2025 10:11:45 +0000 Received: from localhost ([127.0.0.1]:44879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmrui-0007vc-Ei for submit@debbugs.gnu.org; Tue, 25 Feb 2025 05:11:45 -0500 Received: from lists.gnu.org ([2001:470:142::17]:51078) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmnpt-0005Zi-Ve for submit@debbugs.gnu.org; Tue, 25 Feb 2025 00:50:30 -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 1tmnph-00013P-0m for bug-guile@gnu.org; Tue, 25 Feb 2025 00:50:17 -0500 Received: from mail-il1-x144.google.com ([2607:f8b0:4864:20::144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tmnpf-0005nE-AG for bug-guile@gnu.org; Tue, 25 Feb 2025 00:50:16 -0500 Received: by mail-il1-x144.google.com with SMTP id e9e14a558f8ab-3d04932a36cso53034785ab.1 for ; Mon, 24 Feb 2025 21:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740462613; x=1741067413; darn=gnu.org; h=mime-version:msip_labels:content-language:accept-language :message-id:date:thread-index:thread-topic:subject:to:from:from:to :cc:subject:date:message-id:reply-to; bh=tlCdxNDdpRgxc5/nTyKvjP5OybTUU9oWsLxRprPAHYQ=; b=Zeon40KTyifrHRU0KWIvfao+xjao2F051KaZsmDfFj5q3rutdFt4venO9D1Z2SRMiy /SdYakUMIN6aMIJpKayuHbFLo1ttDisMS2mbQsvQZe/FWLJzWM/EiiNinBtiKNjtJZ0f +1pZQt2DNp2SQMWFrhqJxSHnMVZXoGdwvY4h++oo6CWdPF6cQImqCX5VfBxHF4fE3aDU xrY8cBWCSsd+Gh58yG86gU9JfGFl8oBYNCMnXbcLv+zE/SmAR8MnWw7flPgaqt5tt6xv 18LAti2W6DTdoDZBpXn3QS5h6uYnAyHjPYiQhWA88Ufe4cAOqrCnSb9XQ+Yx636X3GHS LQRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740462613; x=1741067413; h=mime-version:msip_labels:content-language:accept-language :message-id:date:thread-index:thread-topic:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tlCdxNDdpRgxc5/nTyKvjP5OybTUU9oWsLxRprPAHYQ=; b=ixGGTj4Ss/fC4eI8QAFax66Vl/EJnX84+p/Avjq8w/1rR8b+a85D1rd6rbrn0td8pZ +2dB8JjVPRoYITzlVWnphYseUmjKbveTCsmpQalN4Fwz2PETvXJPqh1fJXkLn80dRPh2 jEY+lVGHuUE6RfmpJOF0d+JxioUxTeHNB9qnv+k7Czh4knNlkqYOvieRX0n9+5g4nshA sVxsAHPk+mDE+yQqASRaDiXTCxho9/x1sFOMqPqJSxlga1/EYbYBI1VqtEtNXwgBd8Vf O9kdBg/WaSm49soZFiUhWF3V7t9ZBBXAvelQkrLn7Eqlt/Da0+RNcwby0pnjzVHkENw5 XKFg== X-Gm-Message-State: AOJu0Yxc4bsZkBOR6VG9p1vu19s29GETZNMkFpl/pEXCpCAE74nCbOjZ dCD8qbPa0hpOavvZtzHjhBPP1LDY4HYKKbOuk2h5jTkweWn4Xpr+pC0kQG32 X-Gm-Gg: ASbGncuYJax35O5/qZonBdWKVoTP8u6Z3kdx44QMQ32bNCuKxQbvGW4kA4cYDUtvlHP Z42aKeikHpmEH9um4hzLDiZAdNQHTIoowEaZWYOJrRt0A88rWguJbMNXkbgY9ynYpGB3+DolMZP RAOocMEmirANFHj3cZQDrhFlu8EaDanY9myMPFsAXK31uP0bVkZbOIpKc5ineCX+1YXkOdIn902 Vrl5qXUXQNFKn6mW/iSS7QIGfVlivhcrdzjPZHmAnNpIfeC6ObH0iuVKBgPZ6e73kTTnl/8mLdY fzVWSkY0q9Gxtj7jaFxTnSHwRdXrGDSrhkoPyrzfbHnENSK1Zk5kwN1zgyjzxImssV0t2u5FpoI JjDTJqfVR5Q== X-Google-Smtp-Source: AGHT+IGK0IwSIU/tHS+o9tIzcBqPOhjAp5ApVw1enQAfWNBSnf2kSIQ80teQ9uwb35vEDGsYHoZwAQ== X-Received: by 2002:a92:ca0f:0:b0:3d0:1fc4:edf0 with SMTP id e9e14a558f8ab-3d3048802e7mr20718535ab.15.1740462613403; Mon, 24 Feb 2025 21:50:13 -0800 (PST) Received: from DS7PR12MB5837.namprd12.prod.outlook.com ([2603:1036:301:3058::5]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4f04750f753sm248281173.79.2025.02.24.21.50.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2025 21:50:12 -0800 (PST) From: Jinn Suu To: "bug-guile@gnu.org" Subject: quasi-quote "ooo" pattern not work Thread-Topic: quasi-quote "ooo" pattern not work Thread-Index: AQHbh0irsUuwWsuIJUekkUxBjVZbHw== X-MS-Exchange-MessageSentRepresentingType: 1 Date: Tue, 25 Feb 2025 05:50:11 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-Exchange-Organization-SCL: -1 X-MS-TNEF-Correlator: X-MS-Exchange-Organization-RecordReviewCfmType: 0 msip_labels: Content-Type: multipart/alternative; boundary="_000_DS7PR12MB5837554692071FD73F088E4CF9C32DS7PR12MB5837namp_" MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::144; envelope-from=js42007t@gmail.com; helo=mail-il1-x144.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 25 Feb 2025 05:11:42 -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: -0.0 (/) --_000_DS7PR12MB5837554692071FD73F088E4CF9C32DS7PR12MB5837namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I encountered some errors with pattern matching: 1. For quasi-quote, the "ooo" pattern including "..." does not work. I looked = at source code match-upstream.scm and perhaps it has not been implemented f= or quasi-quote cases?? (use-modules (ice-9 match)) (match '(1 2 3) (`(,a ,b ...) b) ) 1. There are some conflicts within ice-9 modules themselves. For example occam= -channel.scm causes predicate match to fail: (use-modules (ice-9 match)) (match 9 ((? odd? a) a)) =3D> 9 (use-modules (ice-9 match) (ice-9 occam-channel)) (match 9 ((? odd? a) a)) =3D> conflict with occam-channel library Please primarily focus on question 1. Thanks! --_000_DS7PR12MB5837554692071FD73F088E4CF9C32DS7PR12MB5837namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,

I encountered some errors with pattern matching:

  1. For quasi-quote, the "ooo" pattern = including "..." does not work. I looked at source code match-upst= ream.scm and perhaps it has not been implemented for quasi-quote cases??
(use-modules (ice-9 match))
(match '(1 2 3)
  (`(,a ,b ...) b)
  )


  1. There are some conflicts within ice-9 modules= themselves. For example occam-channel.scm causes predicate match to fail:<= /div>
(use-modules (ice-9 match))
(match 9 ((? odd? a) a)) =3D> 9
(use-modules (ice-9 match) (ice-9 occam-channel))
(match 9 ((? odd? a) a)) =3D> conflict with occam-channel library


Please primarily focus on question 1.

Thanks!
--_000_DS7PR12MB5837554692071FD73F088E4CF9C32DS7PR12MB5837namp_--