I'm converting a newLisp application I wrote, in production for several years, into clojure, and got stuck immediately.
(def input-list (ref '(OR,CA,CO,ID,WA))) (defn list-ploop "accepts a ref and returns a list's first and alters the rest" [in-list] (do (dosync (ref-set input-list (rest in-list)) ((first in-list))))) Issuing (list-ploop @input-list) successfully alters the input-list, but it bombs on evaluating the (first ). Many thanks. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en