set-car! -- r7rs Definition mutator!;
Procedure variants:
((pair any) -> (undefined))
scheme:base -- (scheme base);scheme -- (scheme);(set-car! pair obj)Stores
objin the car field ofpair.(define (f) (list 'not-a-constant-list)) (define (g) '(constant-list)) (set-car! (f) 3) ===> #unspecified (set-car! (g) 3) ===> #error
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.