hash-table->alist

[procedure] hash-table->alist hash-table

SRFI-69: Returns an association list such that the car of each element in al ist is a key in hash-table and the corresponding cdr of each element in alist is the value associated to the key in hash-table. The order of the elements is unspecified.

The following should always produce a hash table with the same mappings as a hash table h:

(alist->hash-table (hash-table->alist h)
                   (hash-table-equivalence-function h)
                   (hash-table-hash-function h))

[procedure] hash-table->alist hash-table

Gauche: (hash-table-map hash-table cons)

See also hash-table-map.