From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.bugs Subject: bug#34457: GNU Guile: Error in docstring of proc reverse-list->string Date: Wed, 13 Feb 2019 08:10:48 +0100 Message-ID: <20190213071048.GA7570@tuxteam.de> References: <20190212113404.cvomoxdjscr64qol@hal> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="185139"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: 34457@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Feb 13 08:29:14 2019 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtoym-000m1g-62 for guile-bugs@m.gmane.org; Wed, 13 Feb 2019 08:29:12 +0100 Original-Received: from localhost ([127.0.0.1]:52309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtoyl-0007pQ-5c for guile-bugs@m.gmane.org; Wed, 13 Feb 2019 02:29:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtoxc-0006z1-1E for bug-guile@gnu.org; Wed, 13 Feb 2019 02:28:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtoiB-00036D-BH for bug-guile@gnu.org; Wed, 13 Feb 2019 02:12:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtoiA-00035F-Cx for bug-guile@gnu.org; Wed, 13 Feb 2019 02:12:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gtoiA-0002qh-1d for bug-guile@gnu.org; Wed, 13 Feb 2019 02:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 13 Feb 2019 07:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34457 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155004186910889 (code B ref -1); Wed, 13 Feb 2019 07:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Feb 2019 07:11:09 +0000 Original-Received: from localhost ([127.0.0.1]:45729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtohI-0002pZ-QA for submit@debbugs.gnu.org; Wed, 13 Feb 2019 02:11:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtohF-0002p2-W7 for submit@debbugs.gnu.org; Wed, 13 Feb 2019 02:11:07 -0500 Original-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 ) id 1gtohA-0002Xu-TG for submit@debbugs.gnu.org; Wed, 13 Feb 2019 02:11:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtoh9-0006ql-8T for bug-guile@gnu.org; Wed, 13 Feb 2019 02:11:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtoh6-0002WU-R0 for bug-guile@gnu.org; Wed, 13 Feb 2019 02:10:59 -0500 Original-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 ) id 1gtoh6-0002QN-C0 for bug-guile@gnu.org; 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==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1gtogy-000217-HA for bug-guile@gnu.org; Wed, 13 Feb 2019 08:10:48 +0100 Content-Disposition: inline In-Reply-To: <20190212113404.cvomoxdjscr64qol@hal> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9307 Archived-At: --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--