Skip to content

Instantly share code, notes, and snippets.

@ajsharp
Created November 21, 2011 18:35
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 ajsharp/1383464 to your computer and use it in GitHub Desktop.
Save ajsharp/1383464 to your computer and use it in GitHub Desktop.
(defn map-months
[coll]
(if (seq coll)
[(:created_at (first coll) (recur (rest coll)))]
[]))
; Can only recur from tail position
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment