apply_keys

docblock
apply_keys(d::Dict, f)

Apply the function f to each key of d and return a dictionary with the same values of d.

Arguments

  • d: a dictionary.
  • f: a function.