with-accumulators
was broken in the last release: it would get the arglist of the local function wrong. This fixes that and adds a new by
argument:
(with-accumulators ((a + :by 1))
...
(a)
...)
will make the local function have no arguments and step by the value of by
. by
is a form evaluated in the current lexical environment for each call.