Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn recursive-reverse [coll]
  2.   (loop [coll coll
  3.          acc []]
  4.     (if (empty? coll)
  5.       acc
  6.       (recur (rest coll) (concat (list (first coll)) acc)))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement