From: <tomas@tuxteam.de>
To: 34457@debbugs.gnu.org
Subject: bug#34457: GNU Guile: Error in docstring of proc reverse-list->string
Date: Wed, 13 Feb 2019 08:10:48 +0100 [thread overview]
Message-ID: <20190213071048.GA7570@tuxteam.de> (raw)
In-Reply-To: <20190212113404.cvomoxdjscr64qol@hal>
[-- Attachment #1: Type: text/plain, Size: 782 bytes --]
On Tue, Feb 12, 2019 at 03:34:06PM +0400, Андрей wrote:
> 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)'
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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2019-02-13 7:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-12 11:34 bug#34457: GNU Guile: Error in docstring of proc reverse-list->string Андрей
2019-02-13 7:10 ` tomas [this message]
2021-03-26 0:09 ` Calvin Heim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190213071048.GA7570@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=34457@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).