Skip to content

Instantly share code, notes, and snippets.

@FossiFoo
Created May 10, 2012 11:43
Show Gist options
  • Save FossiFoo/2652566 to your computer and use it in GitHub Desktop.
Save FossiFoo/2652566 to your computer and use it in GitHub Desktop.
(defn- reduce-over-values
[func map]
(reduce (fn [accu [key value]]
(assoc accu key (func value)))
{} map))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment