Skip to content

Instantly share code, notes, and snippets.

@ulises

ulises/core.clj Secret

Created August 5, 2014 15:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ulises/99575ee83b2a1ea5d620 to your computer and use it in GitHub Desktop.
(defn ts->seq [ts]
(loop [acc nil cnt 0]
(if (= cnt (.size ts)) (reverse acc)
(recur (conj acc (.getMeasurement ts cnt 0)) (inc cnt)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment