- (modify! LOC PROC)syntax
Modifies the contents of location LOC by applying the procedure PROC to it's contents and setting LOCs to the result. LOC may be any settable location.
(define-macro (increment! loc) `(modify! ,loc add1) )
Modifies the contents of location LOC by applying the procedure PROC to it's contents and setting LOCs to the result. LOC may be any settable location.
(define-macro (increment! loc) `(modify! ,loc add1) )