arc> (= x 'var) var arc> (assign x 20) 20 arc> var Error: "reference to undefined identifier: _var"
My original example was just attempt to copy the table into the current environment:
(= h (obj name0 0 name1 1 name2 2)) (each x (keys h) (assign x (h x)))
(ontable k v h (eval `(= ,k ,v)))
(let foo 42 (= h (table 'foo 1)) ; Anarki only (ontable k v h (eval `(= ,k ,v))) foo)
-----
arc> (ontable k v (table 'var 'a) (eval `(= ,k ,v))) Error: "reference to undefined identifier: __a"
arc> (ontable k v (table 'var 'a) (eval `(= ,k ',v))) #hash((var . a)) arc> var a
Yeah, I'm aware of that. But it's a good point anyway, thanks.