Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

conses

Name: Anonymous 2007-09-28 16:32 ID:CxBKYAO9

http://en.wikipedia.org/wiki/Cons

So why are the fields called CAR and CDR anyway?
(in before your other car)

Name: Anonymous 2007-09-28 17:00 ID:CxBKYAO9

Lisp was originally implemented on the IBM 704 computer, in the late 1950s. On the 704, a cons cell was represented by a single 36-bit machine word containing two parts: an address part and a decrement part, each 15 bits long. The assembly functions used to extract either part of a machine word were called car (Contents of Address of Register) and cdr (Contents of Decrement of Register).

Oh lawd, what a gay design decision.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List