libdo

Untitled

Sep 24th, 2017
144
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)))))
Add Comment
Please, Sign In to add comment