Skip to content

Instantly share code, notes, and snippets.

@joelturnbull
Created January 10, 2012 05:07
Show Gist options
  • Save joelturnbull/1587101 to your computer and use it in GitHub Desktop.
Save joelturnbull/1587101 to your computer and use it in GitHub Desktop.
clojure no-no
(#(#(if (pos? %2) (recur (pop %1) (dec %2)) (first %1)) (flatten %1) %2) '(4 5 6 7) 2 ))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment