[top][index]
search for:

apply(HashTable,Function) -- apply function to each value

Synopsis:

  • Function: apply -- apply a function to each element
  • Input:
  • an instance of class HashTable.
  • an instance of class Function.
  • Output:
  • an instance of class HashTable.
  • apply(x,f) -- produces a new hash table y from an hash table x by applying the function f to each of the values of x. This means that if x#k === v then y#k === f(v).


    [top][index]
    search for: