Task

Using two Arrays of equal length, create a Hash object
where the elements from one array (the keys) are linked
to the elements of the other (the values)



Related task

   Associative arrays/Creation


(let* ((keys (list 'foo 'bar 'baz))
       (vals (list '"foo data" '"bar data" '"baz data"))
       (tuples (: lists zipwith
                 (lambda (a b) (tuple a b)) keys vals))
       (my-dict (: dict from_list tuples)))
  (: io format '"fetched data: ~p~n" (list (: dict fetch 'baz my-dict))))
 