Skip to content

Instantly share code, notes, and snippets.

@aboekhoff
Created January 15, 2010 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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