Thanks. In my case, I started with code something like
(defn load-exp [myseq] (kdb/transaction body)) where body has references to myseq. Christophe's patch of jdbc/transaction works. I can also work around it like (defn load-exp [& args] (apply (^:once fn [myseq] (kdb/transaction body)) args)) at which point I start wondering if it makes sense to apply ^:once to load-exp, but I don't really understand it. On Thursday, September 12, 2013 11:59:15 AM UTC-7, Christian Sperandio wrote: > > You'll find a case of use of this term here: > > http://clj-me.cgrand.net/2013/09/11/macros-closures-and-unexpected-object-retention/ > Le 12 sept. 2013 20:56, "Brian Craft" <craft...@gmail.com <javascript:>> > a écrit : > >> I still don't really understand ^:once. Are there docs anywhere? Is there >> a way to inspect a function for this property? >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com<javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.