| (= mylist '((k1 v1)(k2 v2)(k3 v3)))
arc>(alref mylist 'k2)
v2
arc> (push '(k2 v4) mylist)
((k2 v4) (k1 v1) (k2 v2) (k3 v3))
arc>(alref mylist 'k2)
v4
alref always gets the first item so it's works, but one will have a growing list.Any means to modify the list without having to redefine the whole thing ? I am pretty sure you can't, but I figured one of you might know a trick... Thanks,
T. |