car

(car list)

The car function returns the first element of a list.

If the list is an empty list, the function returns nil.

Examples

: (setq lst1 '((a b c)(d e f g)))

((A B C) (D E F G))

: (car lst1)

(A B C)

: (setq lst2 '(a b c d e f g))

(A B C D E F G)

: (car lst2)

A