set-car!

(set-car! pair obj)


Description:

Stores obj in the car field of pair.


Arguments:

           pair -- a cons pair

            obj -- object


Returns: pair


Examples:

(define a (cons 'b 'c))

(print a)

(set-car! a 'd)         => (d . c)



Back to index