car
type: function (subr) location: built-in source file: xllist.c Common LISP compatible: yes supported on: all machines
SYNTAX
(car <expr> )
<expr> - a list or list expression
DESCRIPTION
CAR returns the first element of the expression. If the first expression is itself a list, then the sublist is returned. If the list is NIL, NIL is returned.
EXAMPLES
(car '(a b c)) ; returns A (car '((a b) c d)) ; returns (A B) (car NIL) ; returns NIL (car 'a) ; error: bad argument type (setq bob '(1 2 3)) ; set up variable BOB (car bob) ; returns 1