< Common Lisp < Reference
The cdr operator, along with car, is one of the basic building blocks of Common Lisp which are used to build cons cells.
The cdr operator, when applied to a list, returns the remainer of that list. For example:
(cdr (list 1 2 3 4 5))
(2 3 4 5)
See also
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.