caddr

Car of the cdr of the cdr in Lisp. The third element in a list.

Noun

  1. Car of the cdr of the cdr in Lisp. The third element in a list.
    • Following the SEL in the control list are two elements (the cadr and caddr of the C list), both of which are themselves lists of instructions. - 1991, Peter M. Kogge, The Architecture of Symbolic Computers, page 156:
    • For example, in a procedure that manipulates a list data stream, we might know that the mode of the car of the list (that is the current message) is the same mode as the cadr (second message), caddr (third message),...
    • If we let x denote the tree (1 2 3), then the car of x is 1, the cdr of x is (2 3), the cadr of x is 2, the caddr of x is 3, and the cdddr of x is nil. - 2000, Matt Kaufmann, Panagiotis Manolios, J Strother Moore,...

Origin

Contraction of car of the cdr of the cdr.

Forms

caddrs