Skip to content

Instantly share code, notes, and snippets.

@aboekhoff
Created January 15, 2010 22:46
Show Gist options
  • Save aboekhoff/278490 to your computer and use it in GitHub Desktop.
Save aboekhoff/278490 to your computer and use it in GitHub Desktop.
(let [cursor (fetch-eager :where {... whatever ...})
res (transient [])]
(while (.hasNext cursor)
(conj! res (-> cursor .next .toClojure)))
(persistent! res))
;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment