diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-08-27 11:14:51 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-08-27 11:14:51 -0400 |
| commit | 64f6eb16ccbd576afb448aac023f5fbe91893724 (patch) | |
| tree | d6165b3e5875ca459462d6d0b38f9ab4df8c9f81 /docs | |
| parent | 19c32ef1249f219991deace96fe1294d7cd8442f (diff) | |
Fix •ReBQN namespace lookup
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/bqn.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/bqn.js b/docs/bqn.js index fff892d2..0faa2fde 100644 --- a/docs/bqn.js +++ b/docs/bqn.js @@ -504,7 +504,7 @@ let rebqn = dynsys_copy(state => (x,w) => { req(x.ns, "𝕩 must be a namespace"); let rev = getrev(x.ns.names); let [repl,primitives] = ["repl","primitives"] - .map(s=>(i=>has(i)?x[i]:i)(rev[s])); + .map(s=>(i=>has(i)?x[x.ns[i]]:i)(rev[s])); if (has(primitives)) { let p = primitives; |
