JohnEarnest / ok

An open-source interpreter for the K5 programming language.
MIT License
588 stars 72 forks source link

amending multiple keys gives `d.v[0] is undefined` #94

Closed tangentstorm closed 3 years ago

tangentstorm commented 3 years ago

This works:

  x: `x`y`dx`dy ! 0 0 1 1
  .@[`x;`x`y; +:; x[`dx`dy]]

So I expected this to work:

x[`x`y]+: x[`dx`dy]

but instead, this shows up in the console: d.v[0] is undefined.