Skip to content

Instantly share code, notes, and snippets.

@melklein
Last active July 11, 2016 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save melklein/9aaec49e2e03366aa5234d96bdcc5ac8 to your computer and use it in GitHub Desktop.
Save melklein/9aaec49e2e03366aa5234d96bdcc5ac8 to your computer and use it in GitHub Desktop.
#(= (seq %1) (reverse %1))
(fn [key map] (and (contains? map key) (= nil (key map))))
(fn [m] (reduce #(conj %1 [%2 (count %1)]) [] m))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment