This is possible: (= t (table))
(= (t 'asdf) 10)
But when try to access value returned from procedure I get this: arc> (def f (t name) (t name))
#<procedure: f>
arc> (= (f t 'asdf) 10)
Error: "procedure .../avl/arc2/ac.scm:1062:12: expects 3 arguments, given 4: #<procedure: func> 10 #hash() asdf"
Is it possible to return from procedure somthing like lvalue. In other words is it possible to implement the same as built in 'table'?Alexey Lebedev |