scanKeys(x,f) -- apply the function f to each key used in the hash table or database x.
This function requires an immutable hash table. To scan the keys in a mutable hash table, use scan(keys x, f).
Ways to use scanKeys :