CAR, CDR, and their combinations
> (set! x '(a b c d))
(A B C D)
> (cdr (cdr x))
(C D)
> (cddr x)
(C D)
> (caddr x)
C ; CADDR selects the 3rd elt.
Previous slide
Next slide
Back to first slide
View graphic version