scanValues(x,f) -- apply the function f to each value appearing in the hash table x.
This function requires an immutable hash table. To scan the values in a mutable hash table, use scan(values x, f).
Ways to use scanValues :