doc: Fix composition describing scm_reverse_list_to_string
authorRob Browning <rlb@defaultvalue.org>
Sat, 26 Sep 2020 22:26:19 +0000 (17:26 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 17 Jan 2021 19:15:45 +0000 (13:15 -0600)
* libguile/srfi-13.c (scm_reverse_list_to_string): Replace string->list
  with list->string in the composition explaning how it works.  Thanks
  to Andrey Ivanov for reporting the problem.

Closes: 34457
THANKS
libguile/srfi-13.c

diff --git a/THANKS b/THANKS
index a4fad6e08ba8559d376bc91bb8a6e1be039b599c..77eef91753649af799f2fbf794a27cefe3cf939d 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -115,6 +115,7 @@ For fixes or providing information which led to a fix:
            Ales Hvezda
            Arun Isaac
          Stefan Israelsson Tampe
+         Andrey Ivanov
           Peter Ivanyi
        Wolfgang Jaehrling
          Aubrey Jaffer
index 80159177523dfeb1ad46c347c2a0e5b66b0ba877..0afe4dd31a9bc8a1c73fe3492ad3830312dc7424 100644 (file)
@@ -330,7 +330,7 @@ scm_string_to_list (SCM str)
 
 SCM_DEFINE (scm_reverse_list_to_string, "reverse-list->string", 1, 0, 0,
             (SCM chrs),
-           "An efficient implementation of @code{(compose string->list\n"
+           "An efficient implementation of @code{(compose list->string\n"
            "reverse)}:\n"
            "\n"
            "@smalllisp\n"