Home Page
About Us


Cdr (/ˈkʌdər/ or /ˈkʊdər/) is primitive operation on cons cells (or "non-atomic S-expressions") introduced in the Lisp programming language.


The fundamental operation for constructing data in LISP



As a practical matter a cons is simpler than a list so you can get the value with a straight cdr rather than the conceptually more complex cadr the car of the cdr

from question  

What is this emacs configuration doing?

In this case cdr would not be part of tree structure;note that while the car 1b component of each such cons is part of the

from question  

Definition of tree structure in Lisp

Thus a chain of pairs where the last cdr is not matches this;append is a procedure that uses cons to make a list with all the elements of the argument lists left to right

from question  

Can someone explain the difference between Cons and Append in scheme?

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0