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

From: <[email-masked]>
Date: Wed, 13 Feb 2019 08:10:48 +0100

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