next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: scanPairs(HashTable,Function)

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



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