Skip to content

Instantly share code, notes, and snippets.

@youngnh
Created March 16, 2011 16:22
Show Gist options
  • Save youngnh/872757 to your computer and use it in GitHub Desktop.
Save youngnh/872757 to your computer and use it in GitHub Desktop.
wtf.clj
(fn [m]
(let [keys (set (keys m))
key-map (into {} (for [k keys] [k k]))]
(select-keys m (vals key-map))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment