GNU bug report logs - #33415
Fix argument list in match-lambda docs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Paul Morris <paul@HIDDEN>; dated Sat, 17 Nov 2018 17:25:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Nov 2018 17:25:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 17 12:25:00 2018
Received: from localhost ([127.0.0.1]:58114 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gO4L6-00076m-3C
	for submit <at> 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 <paul@HIDDEN>) id 1gO1Ce-0001uL-Bf
 for submit <at> 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 <paul@HIDDEN>) id 1gO1CY-0007AE-9k
 for submit <at> 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 <paul@HIDDEN>)
 id 1gO1CY-0007AA-6g
 for submit <at> 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 <paul@HIDDEN>) id 1gO1CX-00044L-7e
 for bug-guile@HIDDEN; Sat, 17 Nov 2018 09:03:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <paul@HIDDEN>) id 1gO1CU-00077d-2Y
 for bug-guile@HIDDEN; 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 <paul@HIDDEN>)
 id 1gO1CR-00071Y-Gf
 for bug-guile@HIDDEN; 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 <bug-guile@HIDDEN>; 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 <paul@HIDDEN>)
 id 1gO1A9-002wDv-1Z
 for bug-guile@HIDDEN; Sat, 17 Nov 2018 07:01:29 -0700
To: bug-guile@HIDDEN
From: Paul Morris <paul@HIDDEN>
Subject: Fix argument list in match-lambda docs
Message-ID: <b57307ea-b293-e737-9dab-519cbb412a0c@HIDDEN>
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@HIDDEN
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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

<html>
  <head>

    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF=
-8">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    <pre style=3D"margin: 0em;">Hi, I found a small error in the docs for=
 the pattern matching module:

<a rel=3D"nofollow" href=3D"https://www.gnu.org/software/guile/manual/htm=
l_node/Pattern-Matching.html">https://www.gnu.org/software/guile/manual/h=
tml_node/Pattern-Matching.html</a>

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


</pre>
  </body>
</html>

--------------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 <paul@HIDDEN>
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--




Acknowledgement sent to Paul Morris <paul@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#33415; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 17 Nov 2018 17:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.