table-for-each

Name

table-for-each -- Applies a procedure to entries in a hash table

Type: function

Synopsis

table-for-each( table proc, );

Arguments

table

An instance of <hash-table>.

proc

An instance of <function>.

Description

This function applies a given procedure to the entries in a hash table. The procedure proc must accept 3 arguments, which will be, for each entry in the hash table, the hash code, the key, and the associated value.

The number of calls to the procedure will equal the table size (modulo the following statement:)

The behavior of the iteration is not specified if the table is updated while the iteration is taking place.