Caddr vs Cadr - What's the difference?
caddr | cadr | Derived terms |
(computing) Car of the cdr of the cdr in LISP. The third element in a list.
* Matt Kaufmann, Panagiotis Manolios, and J Strother Moore, Computer-aided reasoning: an approach , 2000 :
(computing) Car of the cdr in LISP. The second element in a list.
* Matt Kaufmann, Panagiotis Manolios, and J Strother Moore, Computer-aided reasoning: an approach , 2000 :
Cadr is a derived term of caddr.
Cadr is a related term of caddr.
In computing terms the difference between caddr and cadr
is that caddr is car of the cdr of the cdr in LISP. The third element in a list while cadr is car of the cdr in LISP. The second element in a list.caddr
English
Noun
(en noun)- 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.
cadr
English
Noun
(en noun)- 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.