Support array destructuring
samestep opened this issue · 0 comments
samestep commented
Currently you can't do this:
fn([Vec(2, Real)], Real, ([x, y]) => mul(x, y))
I think to fix this we need to modify the Proxy
to handle Symbol.iterator
.
samestep opened this issue · 0 comments
Currently you can't do this:
fn([Vec(2, Real)], Real, ([x, y]) => mul(x, y))
I think to fix this we need to modify the Proxy
to handle Symbol.iterator
.