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


 
(lib 'hash)
 
(define H (make-hash))
(define keys '(elvis simon antoinette))
(define kvalues '("the king" "gallubert" "de gabolde d'Audan"))
 
(list->hash (map cons keys kvalues) H)
    → #hash:3
(hash-ref H 'elvis)
    → "the king"
 