| I need a routine which will create or update hastable using two lists for key & vals.
e.g.
if 'keys is the list containing keys like (k1, k2, k3) and 'vals is list containg vals: (v1, v2, v3).
I want to build a hashtbl out of these two lists having: ((k1 v1) (k2 v3) (k3 v3)). I was thinking of doing it by traversing the 'keys list by index and then fetching elements from both list using this index and then put this key/val into table. thanks. |