list-tail -- r7rs Definition accessor;
list-ref-cons (from vonuvoli);Procedure variants:
((list-not-null range-offset) -> (list))
list-not-null;range-offset;list;scheme:base -- (scheme base);scheme -- (scheme);(list-tail list k)Domain: It is an error if
listhas fewer thankelements.Returns the sublist of
listobtained by omitting the firstkelements. Thelist-tailprocedure could be defined by(define list-tail (lambda (x k) (if (zero? k) x (list-tail (cdr x) (- k 1)))))
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.