From unknown Fri Aug 15 12:53:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#34457 <34457@debbugs.gnu.org> To: bug#34457 <34457@debbugs.gnu.org> Subject: Status: GNU Guile: Error in docstring of proc reverse-list->string Reply-To: bug#34457 <34457@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:53:07 +0000 retitle 34457 GNU Guile: Error in docstring of proc reverse-list->string reassign 34457 guile submitter 34457 =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9 severity 34457 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 12 11:03:09 2019 Received: (at submit) by debbugs.gnu.org; 12 Feb 2019 16:03:10 +0000 Received: from localhost ([127.0.0.1]:45056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtaWb-0005L7-Gw for submit@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 ) id 1gtWKy-00057i-Uf for submit@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 ) id 1gtWKl-0003E1-T2 for submit@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 ) id 1gtWKk-0000yo-UF for bug-guile@gnu.org; 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 ) id 1gtWKT-0002oU-Af for bug-guile@gnu.org; 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 ) id 1gtWKJ-0002Vy-Rr for bug-guile@gnu.org; Tue, 12 Feb 2019 06:34:13 -0500 Received: by mail-lf1-x130.google.com with SMTP id q12so1753591lfm.0 for ; 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 (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?= To: bug-guile@gnu.org 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@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: 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 13 02:11:09 2019 Received: (at submit) by debbugs.gnu.org; 13 Feb 2019 07:11:09 +0000 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 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 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 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 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 ) id 1gtoh6-0002WU-R0 for bug-guile@gnu.org; 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 ) 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==; 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 Date: Wed, 13 Feb 2019 08:10:48 +0100 To: bug-guile@gnu.org Subject: Re: bug#34457: GNU Guile: Error in docstring of proc reverse-list->string 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" Content-Disposition: inline In-Reply-To: <20190212113404.cvomoxdjscr64qol@hal> User-Agent: Mutt/1.5.21 (2010-09-15) From: 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@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: -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-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 25 20:09:12 2021 Received: (at 34457-done) by debbugs.gnu.org; 26 Mar 2021 00:09:12 +0000 Received: from localhost ([127.0.0.1]:39925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPa2J-0007K0-Tp for submit@debbugs.gnu.org; Thu, 25 Mar 2021 20:09:12 -0400 Received: from mail-pj1-f53.google.com ([209.85.216.53]:44922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPa2H-0007Jm-RU for 34457-done@debbugs.gnu.org; Thu, 25 Mar 2021 20:09:10 -0400 Received: by mail-pj1-f53.google.com with SMTP id kk2-20020a17090b4a02b02900c777aa746fso1613051pjb.3 for <34457-done@debbugs.gnu.org>; Thu, 25 Mar 2021 17:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=Nexpu1QfUXwAZBjFfsJK1m9FwGBn3zRgKyZssJA6rYA=; b=KELrqjeIlFcNjSfHqM5TCZicSt678EXagtpoemD/f6jRm0Tx3W/o80qdzvGVPUKU1/ lgFHKgihVeBkrXo+eRWFuhELoSInK4eYrdEf2V8GiYDNgHOgYO80Cnz5q7uu+sQrr2da /ndQa8h5N2ovVZBxo6ZK2gc7/6Ghh70VMOuMAiWg8lGZldCdJuHAFm6FUvbWWucRF+dg rxTlO8U5+VRhlz+uj7IGuJvvJ5ldSPJdZ3xHvQvt+MhkifOMvw2KhRiMoWMBtD07DWGg o2jofhYWnSMMbuf4kLD4Wz+XZ/8YvRc0dwve0QRAPAwBFnOFb7wb5FBOlAYtYpporKr8 tEwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=Nexpu1QfUXwAZBjFfsJK1m9FwGBn3zRgKyZssJA6rYA=; b=HTqvPMJI/VOJlVHk/T7Cb77JHvSMpG6EUKNH6uHScapz5yyG2tVQhdSLkq03WaTKfB E4vH2FsCEexrdqqMb593cIEO++C7Cw3yywWnSpSkDb7ZAErsb3BGeHWMSsCBI+WIJ6t7 k7GL+YY85N37ukelsvU4FwWiDBnN3OpWwmLjaWscASDYqiC+be0kVYvImRQuBXAz6fov FmPB27I5sv/lPjSNMlfl7+oSNy2bLWD4Ux7zIxMvVo14XZAheQr/hw9kwaVAytdrPduN GEF7VHpOCehjS0zoFZ83QQf8+5jvV2jHUiQWjrsHaGwRyeQMpkttuYM0l5eQ0MNcdFQm SzIA== X-Gm-Message-State: AOAM532H7RUdh+5y3uY7ie8gKEcYh4PUMbwv6Hl+/q3is52ImbxC+Pnm VQhUf3Ni2cuhwllokhigxnuXHbOKP4U= X-Google-Smtp-Source: ABdhPJzl29Dpic14Qo4O8pCllLZxJ5OAV+R4q38drB+X/EYN9L2v1s787ni4FxkQDvBVIIQgVYMkyw== X-Received: by 2002:a17:902:fe09:b029:e4:951e:2d2e with SMTP id g9-20020a170902fe09b02900e4951e2d2emr12893180plj.22.1616717343552; Thu, 25 Mar 2021 17:09:03 -0700 (PDT) Received: from ?IPv6:2602:304:ce41:f650:171:2865:310e:1c32? ([2602:304:ce41:f650:171:2865:310e:1c32]) by smtp.googlemail.com with ESMTPSA id h14sm6638344pjc.37.2021.03.25.17.09.02 for <34457-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Mar 2021 17:09:03 -0700 (PDT) Message-ID: <1616717341.2349.5.camel@gmail.com> Subject: Re: bug#34457: GNU Guile: Error in docstring of proc reverse-list->string From: Calvin Heim To: 34457-done@debbugs.gnu.org Date: Thu, 25 Mar 2021 17:09:01 -0700 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34457-done 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: -1.0 (-) Fixed by Rob Browning in commit 859cd4eb9bde1a67f1e85aa09b7a18b9d567c47c. From unknown Fri Aug 15 12:53:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Apr 2021 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator