(inc! place ..args) place: a place args: zero or more forms
M
Performs in-place addition or increment.
(inc! x 3 4)
is equivalent to (= x (+ x 3 4))
, except that x
is only evaluated
once.
With only one argument, (inc! x)
is equivalent to (inc! x 1)
.
See also: +