Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn foo [xml-seq]
  2.   (loop [accum [], xs xml-seq]
  3.     (if (empty? xs)
  4.       accum
  5.       (recur (conj accum
  6.            (extract (first xs)))
  7.          (rest xs)))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement