1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00

* Fix docstring typos.

This commit is contained in:
Neil Jerram 2001-03-23 16:14:47 +00:00
parent 028321d473
commit a17bb5fdc2
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2001-03-23 Neil Jerram <neil@ossau.uklinux.net>
* strop.c (scm_string_index): Fix docstring line break
regression.
* list.c (scm_cons_star): Fix docstring typo.
2001-03-22 Dirk Herrmann <D.Herrmann@tu-bs.de> 2001-03-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
* gc.c (scm_init_storage), gdbint.c (scm_init_gdbint), numbers.c * gc.c (scm_init_storage), gdbint.c (scm_init_gdbint), numbers.c

View file

@ -99,7 +99,7 @@ SCM_DEFINE (scm_cons_star, "cons*", 1, 0, 1,
(SCM arg, SCM rest), (SCM arg, SCM rest),
"Like @code{list}, but the last arg provides the tail of the\n" "Like @code{list}, but the last arg provides the tail of the\n"
"constructed list, returning @code{(cons @var{arg1} (cons\n" "constructed list, returning @code{(cons @var{arg1} (cons\n"
"@var{arg2} (cons @dots{} @var{argn}))). Requires at least one\n" "@var{arg2} (cons @dots{} @var{argn})))}. Requires at least one\n"
"argument. If given one argument, that argument is returned as\n" "argument. If given one argument, that argument is returned as\n"
"result. This function is called @code{list*} in some other\n" "result. This function is called @code{list*} in some other\n"
"Schemes and in Common LISP.") "Schemes and in Common LISP.")

View file

@ -104,7 +104,8 @@ SCM_DEFINE (scm_string_index, "string-index", 2, 2, 0,
"@var{str}. The optional integer arguments @var{frm} and\n" "@var{str}. The optional integer arguments @var{frm} and\n"
"@var{to} limit the search to a portion of the string. This\n" "@var{to} limit the search to a portion of the string. This\n"
"procedure essentially implements the @code{index} or\n" "procedure essentially implements the @code{index} or\n"
"@code{strchr} functions from the C library.\n (qdocs:) Returns\n" "@code{strchr} functions from the C library.\n\n"
"(qdocs:) Returns\n"
"the index of @var{char} in @var{str}, or @code{#f} if the\n" "the index of @var{char} in @var{str}, or @code{#f} if the\n"
"@var{char} isn't in @var{str}. If @var{frm} is given and not\n" "@var{char} isn't in @var{str}. If @var{frm} is given and not\n"
"@code{#f}, it is used as the starting index; if @var{to} is\n" "@code{#f}, it is used as the starting index; if @var{to} is\n"