Clojure: implement wrap() properly.