Ah, wrapping the initial `acc` val in `(num)` works...
On 20 June 2015 at 15:05, Karsten Schmidt wrote:
> I just encountered a problem with recur, I never came across before.
> Am trying to generate `coll-reduce` implementations over primitive
> nd-arrays and get bitten by special type restrictio
I just encountered a problem with recur, I never came across before.
Am trying to generate `coll-reduce` implementations over primitive
nd-arrays and get bitten by special type restrictions on recur args if
they're an initially primitive value (using 1.7.0-RC2):
(loop [acc (aget ^bytes a 0) i 1]