1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 12:20:20 +02:00

* Removed duplicate implementation of list*.

This commit is contained in:
Dirk Herrmann 2000-06-16 12:38:41 +00:00
parent 6a19994066
commit 79494f15d3
4 changed files with 13 additions and 13 deletions

View file

@ -1,3 +1,7 @@
2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
* list.c (list*): Added documentation from common-list.scm.
2000-06-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
* gc.c (scm_unprotect_object): The reference count is guaranteed

View file

@ -91,7 +91,10 @@ SCM_DEFINE (scm_list, "list", 0, 0, 1,
SCM_DEFINE (scm_list_star, "list*", 1, 0, 1,
(SCM arg, SCM rest),
"Return an improper list of the arguments.")
"Works like `list' except that it returns an improper list of\n"
"the arguments, where the last argument is the cdr of the last\n"
"pair. If there is only one argument then the result is just\n"
"that argument. Sometimes this function is called cons*.")
#define FUNC_NAME s_scm_list_star
{
SCM_VALIDATE_REST_ARGUMENT (rest);