nth-node | ||
---|---|---|
Prev | Next |
(nth-node nl k)
Returns the kth node in nl. The first node in the node list has the index "1".
Norman Walsh, <ndw@nwalsh.com>
(define (nth-node nl k) ;; Return a specific node in a node list (by numeric index) (if (equal? k 1) (node-list-first nl) (nth-node (node-list-rest nl) (- k 1))))
Prev | Home | Next |
normalize | Up | pad-string |