GNU bug report logs -
#34457
GNU Guile: Error in docstring of proc reverse-list->string
Previous Next
Reported by: Андрей <esgorhannoth <at> gmail.com>
Date: Tue, 12 Feb 2019 16:04:02 UTC
Severity: minor
Done: Calvin Heim <frofroggy <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34457 in the body.
You can then email your comments to 34457 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#34457
; Package
guile
.
(Tue, 12 Feb 2019 16:04:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Андрей <esgorhannoth <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Tue, 12 Feb 2019 16:04:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guile <at> gnu.org
:
bug#34457
; Package
guile
.
(Wed, 13 Feb 2019 07:12:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Calvin Heim <frofroggy <at> gmail.com>
:
You have taken responsibility.
(Fri, 26 Mar 2021 00:10:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Андрей <esgorhannoth <at> gmail.com>
:
bug acknowledged by developer.
(Fri, 26 Mar 2021 00:10:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 34457-done <at> debbugs.gnu.org (full text, mbox):
Fixed by Rob Browning in commit 859cd4eb9bde1a67f1e85aa09b7a18b9d567c47c.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 23 Apr 2021 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 4 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.