Hello, I'm trying to pass a variable through a series of functions, which may change the value of the variable. However, the next function in line uses the original value, rather than the changed value. Here's a pseudo-code of what I'm doing.
(defn process-1 [s] ; change value of s then return it s) (def s "something") (do (process-1 s) ; variable s is changed here (process-2 s)) ; process-2 uses the original value of s, not the return value from process-1 Thanks for the help. Perhaps a sub-forum for beginners? Kind of embarrassing to ask here questions that are so newbie-ish. -- 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