Go to the first, previous, next, last section, table of contents.


car

Function: car
file: job.t
package: muf
status: alpha

The car function takes a List cell as argument, and returns the contents of the car field:

Stack:
"a" "d" cons
Stack: <cons>
car
Stack: "a"

Modern languages often use more logical names like head or first for this function.

Historical note: car stands for "Contents of Address Register", referring to the machine instruction used to implement this in the first Lisp, on an IBM 704 at MIT in the late 1950s.)


Go to the first, previous, next, last section, table of contents.