From unknown Fri Sep 05 08:44:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33415: Fix argument list in match-lambda docs Resent-From: Paul Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 17 Nov 2018 17:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33415 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 33415@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154247550027332 (code B ref -1); Sat, 17 Nov 2018 17:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Nov 2018 17:25:00 +0000 Received: from localhost ([127.0.0.1]:58114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO4L6-00076m-3C for submit@debbugs.gnu.org; Sat, 17 Nov 2018 12:25:00 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO1Ce-0001uL-Bf for submit@debbugs.gnu.org; Sat, 17 Nov 2018 09:04:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gO1CY-0007AE-9k for submit@debbugs.gnu.org; Sat, 17 Nov 2018 09:03:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34184) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gO1CY-0007AA-6g for submit@debbugs.gnu.org; Sat, 17 Nov 2018 09:03:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gO1CX-00044L-7e for bug-guile@gnu.org; Sat, 17 Nov 2018 09:03:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gO1CU-00077d-2Y for bug-guile@gnu.org; Sat, 17 Nov 2018 09:03:57 -0500 Received: from gproxy4-pub.mail.unifiedlayer.com ([69.89.23.142]:48964) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gO1CR-00071Y-Gf for bug-guile@gnu.org; Sat, 17 Nov 2018 09:03:52 -0500 Received: from cmgw10.unifiedlayer.com (unknown [10.9.0.10]) by gproxy4.mail.unifiedlayer.com (Postfix) with ESMTP id 85A841772DC for ; Sat, 17 Nov 2018 07:01:29 -0700 (MST) Received: from just74.justhost.com ([173.254.28.74]) by cmsmtp with ESMTP id O1A9gZFczuj2oO1A9gx0Au; Sat, 17 Nov 2018 07:01:29 -0700 X-Authority-Reason: nr=8 Received: from dyn-160-39-38-251.dyn.columbia.edu ([160.39.38.251]:38608) by just74.justhost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gO1A9-002wDv-1Z for bug-guile@gnu.org; Sat, 17 Nov 2018 07:01:29 -0700 From: Paul Morris Message-ID: Date: Sat, 17 Nov 2018 09:01:24 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------EEF6DC2786FED267F932D361" Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - just74.justhost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - paulwmorris.com X-BWhitelist: no X-Source-IP: 160.39.38.251 X-Source-L: No X-Exim-ID: 1gO1A9-002wDv-1Z X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: dyn-160-39-38-251.dyn.columbia.edu [160.39.38.251]:38608 X-Source-Auth: paul@paulwmorris.com X-Email-Count: 1 X-Source-Cap: dHdpbm5vdDE7dHdpbm5vdDE7anVzdDc0Lmp1c3Rob3N0LmNvbQ== X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Mailman-Approved-At: Sat, 17 Nov 2018 12:24:58 -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: -5.3 (-----) This is a multi-part message in MIME format. --------------EEF6DC2786FED267F932D361 Content-Type: multipart/alternative; boundary="------------DEF8828482243AADFE3CCE49" --------------DEF8828482243AADFE3CCE49 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi, I found a small error in the docs for the pattern matching module: https://www.gnu.org/software/guile/manual/html_node/Pattern-Matching.html There should be no "exp" in these argument lists: Scheme Syntax: match-lambda exp clause1 clause2 =E2=80=A6 Scheme Syntax: match-lambda* exp clause1 clause2 =E2=80=A6 The attached patch fixes this. -Paul --------------DEF8828482243AADFE3CCE49 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi, I found a small error in the docs for=
 the pattern matching module:

https://www.gnu.org/software/guile/manual/h=
tml_node/Pattern-Matching.html

There should be no "exp" in these argument lists:

Scheme Syntax: match-lambda exp clause1 clause2 =E2=80=A6
Scheme Syntax: match-lambda* exp clause1 clause2 =E2=80=A6

The attached patch fixes this.

-Paul


--------------DEF8828482243AADFE3CCE49-- --------------EEF6DC2786FED267F932D361 Content-Type: text/x-patch; name="0001-Fix-argument-list-in-match-lambda-docs.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Fix-argument-list-in-match-lambda-docs.patch" >From 502a6022e6e059a96f73a0b907b02b4e797e5a65 Mon Sep 17 00:00:00 2001 From: Paul Morris Date: Sat, 17 Nov 2018 08:54:06 -0500 Subject: [PATCH] Fix argument list in match-lambda docs * doc/ref/match.texi: Fix argument list for match-lambda. --- doc/ref/match.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ref/match.texi b/doc/ref/match.texi index 0fc5105d1..f5ea43118 100644 --- a/doc/ref/match.texi +++ b/doc/ref/match.texi @@ -216,7 +216,7 @@ one-element list containing a @var{person} whose first slot is The @code{(ice-9 match)} module also provides the following convenient syntactic sugar macros wrapping around @code{match}. -@deffn {Scheme Syntax} match-lambda exp clause1 clause2 @dots{} +@deffn {Scheme Syntax} match-lambda clause1 clause2 @dots{} Create a procedure of one argument that matches its argument against each clause, and returns the result of evaluating the corresponding expressions. @@ -236,7 +236,7 @@ expressions. @result{} world @end example -@deffn {Scheme Syntax} match-lambda* exp clause1 clause2 @dots{} +@deffn {Scheme Syntax} match-lambda* clause1 clause2 @dots{} Create a procedure of any number of arguments that matches its argument list against each clause, and returns the result of evaluating the corresponding expressions. -- 2.17.1 --------------EEF6DC2786FED267F932D361-- From unknown Fri Sep 05 08:44:11 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: Paul Morris Subject: bug#33415: closed (Re: bug#33415: Fix argument list in match-lambda docs) Message-ID: References: <87mui79kx2.fsf@gnu.org> X-Gnu-PR-Message: they-closed 33415 X-Gnu-PR-Package: guile Reply-To: 33415@debbugs.gnu.org Date: Mon, 24 Jun 2019 13:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1561382642-28758-1" This is a multi-part message in MIME format... ------------=_1561382642-28758-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #33415: Fix argument list in match-lambda docs 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 33415@debbugs.gnu.org. --=20 33415: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33415 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1561382642-28758-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 33415-done) by debbugs.gnu.org; 24 Jun 2019 13:23:46 +0000 Received: from localhost ([127.0.0.1]:55807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfOwk-0007TQ-6b for submit@debbugs.gnu.org; Mon, 24 Jun 2019 09:23:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfOwj-0007TB-0I for 33415-done@debbugs.gnu.org; Mon, 24 Jun 2019 09:23:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfOwd-0005kN-P1; Mon, 24 Jun 2019 09:23:39 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=43684 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfOwd-0003AD-7n; Mon, 24 Jun 2019 09:23:39 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Paul Morris Subject: Re: bug#33415: Fix argument list in match-lambda docs References: Date: Mon, 24 Jun 2019 15:23:37 +0200 In-Reply-To: (Paul Morris's message of "Sat, 17 Nov 2018 09:01:24 -0500") Message-ID: <87mui79kx2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 33415-done Cc: 33415-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: -3.3 (---) Hi, Paul Morris skribis: > Hi, I found a small error in the docs for the pattern matching module: > > https://www.gnu.org/software/guile/manual/html_node/Pattern-Matching.html > > There should be no "exp" in these argument lists: > > Scheme Syntax: match-lambda exp clause1 clause2 =E2=80=A6 > Scheme Syntax: match-lambda* exp clause1 clause2 =E2=80=A6 Indeed. >>>From 502a6022e6e059a96f73a0b907b02b4e797e5a65 Mon Sep 17 00:00:00 2001 > From: Paul Morris > Date: Sat, 17 Nov 2018 08:54:06 -0500 > Subject: [PATCH] Fix argument list in match-lambda docs > > * doc/ref/match.texi: Fix argument list for match-lambda. Applied, thanks! Ludo=E2=80=99. ------------=_1561382642-28758-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Nov 2018 17:25:00 +0000 Received: from localhost ([127.0.0.1]:58114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO4L6-00076m-3C for submit@debbugs.gnu.org; Sat, 17 Nov 2018 12:25:00 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO1Ce-0001uL-Bf for submit@debbugs.gnu.org; Sat, 17 Nov 2018 09:04:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gO1CY-0007AE-9k for submit@debbugs.gnu.org; Sat, 17 Nov 2018 09:03:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34184) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gO1CY-0007AA-6g for submit@debbugs.gnu.org; Sat, 17 Nov 2018 09:03:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gO1CX-00044L-7e for bug-guile@gnu.org; Sat, 17 Nov 2018 09:03:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gO1CU-00077d-2Y for bug-guile@gnu.org; Sat, 17 Nov 2018 09:03:57 -0500 Received: from gproxy4-pub.mail.unifiedlayer.com ([69.89.23.142]:48964) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gO1CR-00071Y-Gf for bug-guile@gnu.org; Sat, 17 Nov 2018 09:03:52 -0500 Received: from cmgw10.unifiedlayer.com (unknown [10.9.0.10]) by gproxy4.mail.unifiedlayer.com (Postfix) with ESMTP id 85A841772DC for ; Sat, 17 Nov 2018 07:01:29 -0700 (MST) Received: from just74.justhost.com ([173.254.28.74]) by cmsmtp with ESMTP id O1A9gZFczuj2oO1A9gx0Au; Sat, 17 Nov 2018 07:01:29 -0700 X-Authority-Reason: nr=8 Received: from dyn-160-39-38-251.dyn.columbia.edu ([160.39.38.251]:38608) by just74.justhost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gO1A9-002wDv-1Z for bug-guile@gnu.org; Sat, 17 Nov 2018 07:01:29 -0700 To: bug-guile@gnu.org From: Paul Morris Subject: Fix argument list in match-lambda docs Message-ID: Date: Sat, 17 Nov 2018 09:01:24 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------EEF6DC2786FED267F932D361" Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - just74.justhost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - paulwmorris.com X-BWhitelist: no X-Source-IP: 160.39.38.251 X-Source-L: No X-Exim-ID: 1gO1A9-002wDv-1Z X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: dyn-160-39-38-251.dyn.columbia.edu [160.39.38.251]:38608 X-Source-Auth: paul@paulwmorris.com X-Email-Count: 1 X-Source-Cap: dHdpbm5vdDE7dHdpbm5vdDE7anVzdDc0Lmp1c3Rob3N0LmNvbQ== X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 17 Nov 2018 12:24:58 -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: -5.3 (-----) This is a multi-part message in MIME format. --------------EEF6DC2786FED267F932D361 Content-Type: multipart/alternative; boundary="------------DEF8828482243AADFE3CCE49" --------------DEF8828482243AADFE3CCE49 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi, I found a small error in the docs for the pattern matching module: https://www.gnu.org/software/guile/manual/html_node/Pattern-Matching.html There should be no "exp" in these argument lists: Scheme Syntax: match-lambda exp clause1 clause2 =E2=80=A6 Scheme Syntax: match-lambda* exp clause1 clause2 =E2=80=A6 The attached patch fixes this. -Paul --------------DEF8828482243AADFE3CCE49 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi, I found a small error in the docs for=
 the pattern matching module:

https://www.gnu.org/software/guile/manual/h=
tml_node/Pattern-Matching.html

There should be no "exp" in these argument lists:

Scheme Syntax: match-lambda exp clause1 clause2 =E2=80=A6
Scheme Syntax: match-lambda* exp clause1 clause2 =E2=80=A6

The attached patch fixes this.

-Paul


--------------DEF8828482243AADFE3CCE49-- --------------EEF6DC2786FED267F932D361 Content-Type: text/x-patch; name="0001-Fix-argument-list-in-match-lambda-docs.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Fix-argument-list-in-match-lambda-docs.patch" >From 502a6022e6e059a96f73a0b907b02b4e797e5a65 Mon Sep 17 00:00:00 2001 From: Paul Morris Date: Sat, 17 Nov 2018 08:54:06 -0500 Subject: [PATCH] Fix argument list in match-lambda docs * doc/ref/match.texi: Fix argument list for match-lambda. --- doc/ref/match.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ref/match.texi b/doc/ref/match.texi index 0fc5105d1..f5ea43118 100644 --- a/doc/ref/match.texi +++ b/doc/ref/match.texi @@ -216,7 +216,7 @@ one-element list containing a @var{person} whose first slot is The @code{(ice-9 match)} module also provides the following convenient syntactic sugar macros wrapping around @code{match}. -@deffn {Scheme Syntax} match-lambda exp clause1 clause2 @dots{} +@deffn {Scheme Syntax} match-lambda clause1 clause2 @dots{} Create a procedure of one argument that matches its argument against each clause, and returns the result of evaluating the corresponding expressions. @@ -236,7 +236,7 @@ expressions. @result{} world @end example -@deffn {Scheme Syntax} match-lambda* exp clause1 clause2 @dots{} +@deffn {Scheme Syntax} match-lambda* clause1 clause2 @dots{} Create a procedure of any number of arguments that matches its argument list against each clause, and returns the result of evaluating the corresponding expressions. -- 2.17.1 --------------EEF6DC2786FED267F932D361-- ------------=_1561382642-28758-1--