nth_car (list, number) nth_cdr (list, number)
Any list.
The number of cars (or cdrs) to apply to the list argument. Non-integers are rounded down. Non-numbers are treated as zero.
The nth_car and nth_cdr functions iteratively apply the car and cdr functions to a list. If the list argument is not a list, or if the result of any subsequent application of car or cdr is not a list, the result is nil. If the number of applications is less than or equal to 0, the result is the original list.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.