Skip to content

Instantly share code, notes, and snippets.

@raek
Created December 29, 2011 23:13
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 raek/1536637 to your computer and use it in GitHub Desktop.
Save raek/1536637 to your computer and use it in GitHub Desktop.
(defn tokens [tokenstream termatt]
(loop [v []]
(if-not (.incrementToken tokenstream)
v
(recur (conj v (.term termatt))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment