Name

set-car

Usage

builtin-function

Syntax

(set-car list item)

Description

Assigns item to the first item of list.

user 1 > (let z '(111 2 3))
it: (111 2 3)
user 2 > (set-car z 111)
it: 111
user 3 > z
it: (111 2 3)
user 4 > (macroexpand '(setf (car z) 111))
it: (set-car z 111)