From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Volf <~@wolfsden.cz> Newsgroups: gmane.lisp.guile.bugs Subject: bug#72370: srfi-64: test-apply requires at least one specifier Date: Tue, 30 Jul 2024 21:51:55 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27497"; mail-complaints-to="usenet@ciao.gmane.io" To: 72370@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Jul 30 21:54:20 2024 Return-path: Envelope-to: guile-bugs@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 1sYsvL-0006xl-Vr for guile-bugs@m.gmane-mx.org; Tue, 30 Jul 2024 21:54:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYsty-00050Z-2d; Tue, 30 Jul 2024 15:52:54 -0400 Original-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 1sYstw-0004zy-Li for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sYstw-0006xv-Bg for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=/7B36JGYcqWHvd/VrA5oG3xxlAlKWoMhxxKacgo5meI=; b=KdnQFmf4XRd//WQNzsmaGV+708N41txpHFKtAEHlRVAhIQQ9MetGRUBy29B3eqA3mhSBcz+n3FKxlz/EIbo1ue1s7G3OzlzC10zh4ljPS0QCTksJh4L7BeurvKcQAFc5ZM4L0NMhT7tyUjTe8nyNstjpeIEffDy/Fwv/rQFixqHHC/wcKjiIavLvgnGlo3Fv1gKRfWGVhAyAmvzdalpCiDcsnksS5psSqyzHum/OdgMnQ/bf+vL2xEeeGrZPahUexUmwqyEo9/j/d9a4vYOTULtmu5hkRI9C2aikNfVC9j9qnBu/JLwY5XFZd7PHfpN7fmneAk7AbkFFlwXbqQJcsA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYsuA-0006cn-Re for bug-guile@gnu.org; Tue, 30 Jul 2024 15:53:06 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 30 Jul 2024 19:53:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72370 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172236914725181 (code B ref -1); Tue, 30 Jul 2024 19:53:06 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2024 19:52:27 +0000 Original-Received: from localhost ([127.0.0.1]:48464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYstX-0006Xy-6K for submit@debbugs.gnu.org; Tue, 30 Jul 2024 15:52:27 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sYstM-0006Wp-RD for submit@debbugs.gnu.org; Tue, 30 Jul 2024 15:52:17 -0400 Original-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 <~@wolfsden.cz>) id 1sYst8-0004so-2C for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:02 -0400 Original-Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sYst6-0006rR-Gg for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:01 -0400 Original-Received: by wolfsden.cz (Postfix, from userid 104) id C27972928DF; Tue, 30 Jul 2024 19:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1722369115; bh=OVoVF6PsQjJWtIs8tF/OC613ipA0/Hn10UhuTmpvMXo=; h=Date:From:To:Subject; b=FbCQD+bwQt4lScrewTG8aX55jysDOSv3wPAGtUC4jbJvF5qaJl/6dg1u2JymtRK+T 6hD9AHPSxs0pcnibIvwl5hsmWnLNQHlPDQxFSs85yruV5MhqP5x+L6RoWp5db5VgBZ /nVjaKVRjTsKkYWgOnvgqJCTLHGzE88gORdPuQ1VQsJhiwx7uXuujs5Agak7Zqh4f9 QzON7F6j1qexU6tCHI0UOtaWgVeFZewe9W+58j3r0LDP+J0J1VVcp+4yrXznJtBdpA VFpOrQZigpz+hpbTI5fhfAc8JSRHSt1lzFmuK0Okbfudy+3xTJx1gnat1gX1Jcosf1 V9yJ1hdcRMyZVvHEFKCESI0Cn7FejbUCPpF92chxKDJ3TMZ3XJIXPuvM+KpxlujMC5 gKH2c3dc6B8Ar2wlX0GCPSbEpAj1xH2iT+pJeudVv7E37TZPqOooziMzkP9Fq5xCcn ydUjc5gbN7jpyn78lSUxZKWSzjE58hZbvXLfWEwKs5QxcbB+1+s4e6V3dh7BsU0LFZ 2ZQoXwfYcjZfwxpR+b2rQMCqRwffHLaqpNoLWX3e948WcmgWFpEwfbp/kGj3l5Y0Oa zE1mNOEE2Z7nYQH/hB/xzt0dQ/bN/cyMkhf+jkReBo2leHSIxTAubrZZcebOadej40 1P3tjLZPwIt9/TUZvz0QAoyg= Original-Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 7FBB7292268 for ; Tue, 30 Jul 2024 19:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1722369115; bh=OVoVF6PsQjJWtIs8tF/OC613ipA0/Hn10UhuTmpvMXo=; h=Date:From:To:Subject; b=FbCQD+bwQt4lScrewTG8aX55jysDOSv3wPAGtUC4jbJvF5qaJl/6dg1u2JymtRK+T 6hD9AHPSxs0pcnibIvwl5hsmWnLNQHlPDQxFSs85yruV5MhqP5x+L6RoWp5db5VgBZ /nVjaKVRjTsKkYWgOnvgqJCTLHGzE88gORdPuQ1VQsJhiwx7uXuujs5Agak7Zqh4f9 QzON7F6j1qexU6tCHI0UOtaWgVeFZewe9W+58j3r0LDP+J0J1VVcp+4yrXznJtBdpA VFpOrQZigpz+hpbTI5fhfAc8JSRHSt1lzFmuK0Okbfudy+3xTJx1gnat1gX1Jcosf1 V9yJ1hdcRMyZVvHEFKCESI0Cn7FejbUCPpF92chxKDJ3TMZ3XJIXPuvM+KpxlujMC5 gKH2c3dc6B8Ar2wlX0GCPSbEpAj1xH2iT+pJeudVv7E37TZPqOooziMzkP9Fq5xCcn ydUjc5gbN7jpyn78lSUxZKWSzjE58hZbvXLfWEwKs5QxcbB+1+s4e6V3dh7BsU0LFZ 2ZQoXwfYcjZfwxpR+b2rQMCqRwffHLaqpNoLWX3e948WcmgWFpEwfbp/kGj3l5Y0Oa zE1mNOEE2Z7nYQH/hB/xzt0dQ/bN/cyMkhf+jkReBo2leHSIxTAubrZZcebOadej40 1P3tjLZPwIt9/TUZvz0QAoyg= Content-Disposition: inline Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10930 Archived-At: Hello, I think I found a bug in (srfi srfi-64) module shipped with GNU Guile. The specification says the following regarding the test-apply: > If one or more specifiers are listed then only tests matching the specifiers > are executed. That implies that specifiers are optional and the following code should work: (use-modules (srfi srfi-64)) (test-apply (λ () #t)) However it does not: Backtrace: In ice-9/boot-9.scm: 1752:10 8 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 7 (apply-smob/0 #) In ice-9/boot-9.scm: 724:2 6 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 5 (_ #(#(#))) In ice-9/boot-9.scm: 2836:4 4 (save-module-excursion _) 4388:12 3 (_) In srfi/srfi-64/testing.scm: 947:34 2 (test-apply #) 938:47 1 (test-apply # . _) In unknown file: 0 (reverse #t) ERROR: In procedure reverse: In procedure reverse: Wrong type argument in position 1: #t Have a nice day Tomas Volf