451 |
|
|
452 |
SCM_DEFINE (scm_list_tail, "list-tail", 2, 0, 0, |
SCM_DEFINE (scm_list_tail, "list-tail", 2, 0, 0, |
453 |
(SCM lst, SCM k), |
(SCM lst, SCM k), |
454 |
"@deffnx primitive list-cdr-ref lst k\n" |
"@deffnx {Scheme Procedure} list-cdr-ref lst k\n" |
455 |
"Return the \"tail\" of @var{lst} beginning with its @var{k}th element.\n" |
"Return the \"tail\" of @var{lst} beginning with its @var{k}th element.\n" |
456 |
"The first element of the list is considered to be element 0.\n\n" |
"The first element of the list is considered to be element 0.\n\n" |
457 |
"@code{list-tail} and @code{list-cdr-ref} are identical. It may help to\n" |
"@code{list-tail} and @code{list-cdr-ref} are identical. It may help to\n" |
690 |
|
|
691 |
SCM_DEFINE (scm_delq_x, "delq!", 2, 0, 0, |
SCM_DEFINE (scm_delq_x, "delq!", 2, 0, 0, |
692 |
(SCM item, SCM lst), |
(SCM item, SCM lst), |
693 |
"@deffnx primitive delv! item lst\n" |
"@deffnx {Scheme Procedure} delv! item lst\n" |
694 |
"@deffnx primitive delete! item lst\n" |
"@deffnx {Scheme Procedure} delete! item lst\n" |
695 |
"These procedures are destructive versions of @code{delq}, @code{delv}\n" |
"These procedures are destructive versions of @code{delq}, @code{delv}\n" |
696 |
"and @code{delete}: they modify the pointers in the existing @var{lst}\n" |
"and @code{delete}: they modify the pointers in the existing @var{lst}\n" |
697 |
"rather than creating a new list. Caveat evaluator: Like other\n" |
"rather than creating a new list. Caveat evaluator: Like other\n" |