GNU bug report logs - #34457
GNU Guile: Error in docstring of proc reverse-list->string

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; Severity: minor; Reported by: Андрей <esgorhannoth@HIDDEN>; dated Tue, 12 Feb 2019 16:04:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 13 Feb 2019 07:11:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 13 02:11:09 2019
Received: from localhost ([127.0.0.1]:45729 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gtohI-0002pZ-QA
	for submit <at> debbugs.gnu.org; Wed, 13 Feb 2019 02:11:09 -0500
Received: from eggs.gnu.org ([209.51.188.92]:48564)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tomas@HIDDEN>) id 1gtohF-0002p2-W7
 for submit <at> debbugs.gnu.org; Wed, 13 Feb 2019 02:11:07 -0500
Received: from lists.gnu.org ([209.51.188.17]:40329)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tomas@HIDDEN>) id 1gtohA-0002Xu-TG
 for submit <at> debbugs.gnu.org; Wed, 13 Feb 2019 02:11:00 -0500
Received: from eggs.gnu.org ([209.51.188.92]:34706)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tomas@HIDDEN>) id 1gtoh9-0006ql-8T
 for bug-guile@HIDDEN; Wed, 13 Feb 2019 02:11:00 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tomas@HIDDEN>) id 1gtoh6-0002WU-R0
 for bug-guile@HIDDEN; Wed, 13 Feb 2019 02:10:59 -0500
Received: from mail.tuxteam.de ([5.199.139.25]:59303)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <tomas@HIDDEN>) id 1gtoh6-0002QN-C0
 for bug-guile@HIDDEN; Wed, 13 Feb 2019 02:10:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de;
 s=mail; 
 h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date;
 bh=WQATpHrFX0lOjpxXW5rAeJie3fXKJH1uXLWIwwBwMP0=; 
 b=NnKrUDhmrGq1gulmuyw/3vTnddQIGv9gHYKXhue5ExYLe8eL+/5QBDAPfW90vo5z2WdK1+96TXqXBIooCMCnThNjEHXcq3jDiyJiupqUqSCQHNThu8vAYE/mSMJegJQZFHkmInxFq8X7c1AJnohvUadJy8lAZ0m7AuFtYD+5Lze1K31SAtJ463DOAuHajrnvXWkqOiJGNkD8pwSyNcbKNqOZnrDpVzrkZqDtyku2afDidGDrjvNb07Rb9ilTkbqM/QirCvSUpBO+gUOQJ+RBTaCQDD1uwLCo3ZwF6bMIwOlfX5DYr8i8vvjHVEphPiJ5SUsxFg+Qyyn/EyByMAohdQ==;
Received: from tomas by mail.tuxteam.de with local (Exim 4.80)
 (envelope-from <tomas@HIDDEN>) id 1gtogy-000217-HA
 for bug-guile@HIDDEN; Wed, 13 Feb 2019 08:10:48 +0100
Date: Wed, 13 Feb 2019 08:10:48 +0100
To: bug-guile@HIDDEN
Subject: Re: bug#34457: GNU Guile: Error in docstring of proc
 reverse-list->string
Message-ID: <20190213071048.GA7570@HIDDEN>
References: <20190212113404.cvomoxdjscr64qol@hal>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK"
Content-Disposition: inline
In-Reply-To: <20190212113404.cvomoxdjscr64qol@hal>
User-Agent: Mutt/1.5.21 (2010-09-15)
From: <tomas@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 5.199.139.25
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
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: -0.0 (/)


--YZ5djTAD1cGYuMQK
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 12, 2019 at 03:34:06PM +0400, =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=
=B9 wrote:
> Good day!
>=20
> The docstring of `reverse-list->string` proc says:
> ```
> scheme@(guile-user)> (help reverse-list->string )
> `reverse-list->string' is a procedure in the (guile) module.
>=20
> - Scheme Procedure: reverse-list->string chrs
>      An efficient implementation of `(compose string->list reverse)':
>     =20
>                (reverse-list->string '(#\a #\B #\c)) =3D=3D> "cBa"
>=20
> ```
> and it works as the example shows, but I think the description line
> should be `(compose list->string reverse)'

Yes, I think you are right: the result will be a string, so it has
to be "list->string".

Confusing, when compose goes right to left and -> by convention
left-to-right :-)

Cheers
-- t

--YZ5djTAD1cGYuMQK
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlxjwvgACgkQBcgs9XrR2kbrWACfVDPG+1jbU892snojcrUqRZN2
V1UAn1JKIs6UG9/PfFbXft01rTa+xG9D
=XgHS
-----END PGP SIGNATURE-----

--YZ5djTAD1cGYuMQK--




Information forwarded to bug-guile@HIDDEN:
bug#34457; Package guile. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 12 Feb 2019 16:03:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 12 11:03:09 2019
Received: from localhost ([127.0.0.1]:45056 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gtaWb-0005L7-Gw
	for submit <at> debbugs.gnu.org; Tue, 12 Feb 2019 11:03:09 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56499)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <esgorhannoth@HIDDEN>) id 1gtWKy-00057i-Uf
 for submit <at> debbugs.gnu.org; Tue, 12 Feb 2019 06:34:54 -0500
Received: from lists.gnu.org ([209.51.188.17]:46882)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <esgorhannoth@HIDDEN>)
 id 1gtWKl-0003E1-T2
 for submit <at> debbugs.gnu.org; Tue, 12 Feb 2019 06:34:43 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42616)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esgorhannoth@HIDDEN>) id 1gtWKk-0000yo-UF
 for bug-guile@HIDDEN; Tue, 12 Feb 2019 06:34:39 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 FROM_EXCESS_BASE64,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esgorhannoth@HIDDEN>) id 1gtWKT-0002oU-Af
 for bug-guile@HIDDEN; Tue, 12 Feb 2019 06:34:26 -0500
Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:33302)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <esgorhannoth@HIDDEN>)
 id 1gtWKJ-0002Vy-Rr
 for bug-guile@HIDDEN; Tue, 12 Feb 2019 06:34:13 -0500
Received: by mail-lf1-x130.google.com with SMTP id q12so1753591lfm.0
 for <bug-guile@HIDDEN>; Tue, 12 Feb 2019 03:34:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=date:from:to:subject:message-id:mime-version:content-disposition
 :user-agent; bh=gHBW7YrEPJ7kD78FoszcF3Np4IbAzCP9a57HFQxBPKs=;
 b=tPq51Y2G8G/wGQ4BfV0zxHtY5FPGGdiBliM1F2QdMbk2Kusk/Obd5R1f17D8LG120w
 cvIKu74n/XxMHHostL6NC8zzmAreqeh3au3WINFWdPHkvVLmHhZ49W5AvRKiTGnXQVZv
 jJqxDukK7ZfJvrz/2vTR+ng646UqZWwYrjxhRVknmz3xF/2Ds51ukbwKUZAJ7ZC204p3
 nmWJ/xsfVL6vvHXEM0WU0f2phBZOOpCSyZYG30ZGqZ2mhspzo/cOBhnwAwVRqvX6GoJb
 WXH3/Yth0fKUEhzzCzJpszmLZBdvyE1Cm/6WRbcg1M98Ynu8klRB6+HxuG9G8WRAVR+D
 kAbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:subject:message-id:mime-version
 :content-disposition:user-agent;
 bh=gHBW7YrEPJ7kD78FoszcF3Np4IbAzCP9a57HFQxBPKs=;
 b=CigAOJYZDTZcEDDD2Ta5bLTaFdgM4J4se8OFWXy6LcVzeQSyOug0xHWedfcZlrfNAe
 iF4E7iCcpi6L5vhErk3nHJcjRyek+bLvexdpdVWAGG/dtGxow/jDXzkYrUv+/wdWUjKt
 SSrssk3543+W1lHmjSppTBkMpmqGmJDLVkP8xRNH8f3Kat9QfjdpnXzZyfIBsWHAPE3A
 FDh50gt+3/GdXzVWJS8ynfCMW6ny2Nw3RsvvgeLimxUomDUFIDObrxNKIa2yeLLHUCJ7
 nVS+nVD2TS9Ma0808kX/mGx+is5V+qU8VpB8BHuWcZFzOmeOZgdXfAREv2r67uK+Td1h
 ORVQ==
X-Gm-Message-State: AHQUAuav0bk4FxkUcOY1OcbEm4Z4kKuhYMupEjai5SrakPpfxS9tr91j
 akpEXJSGOFx5TPG8Bv74VaV3nE5v
X-Google-Smtp-Source: AHgI3IZEhqV6kSsHN83vVmwRXTDhR5WwuARWJtpXQTPn6oNwRzC9ffAzJ9SS0HXpwf0uGY7oM2rKBw==
X-Received: by 2002:a19:9a8d:: with SMTP id c135mr2079030lfe.100.1549971249008; 
 Tue, 12 Feb 2019 03:34:09 -0800 (PST)
Received: from hal ([94.229.237.80])
 by smtp.gmail.com with ESMTPSA id g15sm2865080lfb.1.2019.02.12.03.34.08
 for <bug-guile@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 12 Feb 2019 03:34:08 -0800 (PST)
Date: Tue, 12 Feb 2019 15:34:06 +0400
From: =?utf-8?B?0JDQvdC00YDQtdC5?= <esgorhannoth@HIDDEN>
To: bug-guile@HIDDEN
Subject: GNU Guile: Error in docstring of proc reverse-list->string
Message-ID: <20190212113404.cvomoxdjscr64qol@hal>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: NeoMutt/20161126 (1.7.1)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::130
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.1 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: Good day! The docstring of `reverse-list->string` proc says:
 ``` scheme@(guile-user)> (help reverse-list->string ) `reverse-list->string'
 is a procedure in the (guile) module. - Scheme Procedure: reverse-list->string
 chrs An efficient implementation of `(compose string->list reverse)': 
 Content analysis details:   (1.1 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
 blocked.  See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
 for more information. [URIs: gnu.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (esgorhannoth[at]gmail.com)
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.1 FROM_EXCESS_BASE64     From: base64 encoded unnecessarily
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 12 Feb 2019 11:03:08 -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: 0.1 (/)

Good day!

The docstring of `reverse-list->string` proc says:
```
scheme@(guile-user)> (help reverse-list->string )
`reverse-list->string' is a procedure in the (guile) module.

- Scheme Procedure: reverse-list->string chrs
     An efficient implementation of `(compose string->list reverse)':
     
               (reverse-list->string '(#\a #\B #\c)) ==> "cBa"

```
and it works as the example shows, but I think the description line
should be `(compose list->string reverse)'

I discovered it in my Guile 2.0 installation and as I checked it is
still this way in 2.9 branch.

The line itself is here:
http://git.savannah.gnu.org/cgit/guile.git/tree/libguile/srfi-13.c#n335

Sorry if it is meant this way and it's a false alarm :)

- Andrey Ivanov




Acknowledgement sent to Андрей <esgorhannoth@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#34457; 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: Mon, 25 Nov 2019 12:00:02 UTC

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