On Fri, Dec 2, 2011 at 12:33 AM, Glen Stampoultzis <gst...@gmail.com> wrote:
> I noticed that when I create a reference (zk-ref) I need to provide an > initial value. For each VM I do this for - it ends up clobbering the > previous value. Is there anyway to create a reference without necessarily > clobbering existing data? > You don't need to supply an initial value. I had to look at the source to figure that out, though. Leaving off the value will just create a reference to an already existing ref. See the second set of arguments here: https://github.com/liebke/avout/blob/master/src/avout/core.clj#L59 Chris -- 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