next | previous | forward | backward | up | top | index | toc | home

scanPairs(HashTable,Function) -- apply a function to pairs in a hash table

Synopsis

Description

scanPairs(x,f) -- applies the function f to each pair (k,v) where k is a key in the hash table x and v is the corresponding value x#k.

This function requires an immutable hash table. To scan the pairs in a mutable hash table, use scan(pairs x, f).

See also