On Tue, 20 Jul 2010 13:11:12 -0700 (PDT) Aravindh Johendran <ajohend...@gmail.com> wrote:
> If we have tree recursive procedure such as the follows, how can we > use memoize it so that it automatically caches the values it has > already computed ..... [example elided] > Maybe memoize should go the same way as the contrib trace package - > i.e, have special macros. "Functional" memoizing can only cover so > much ......... You mean something like defn-memo, which is already defined in the clojure.contrib.def package, and seems to do exactly what you want? <mike -- Mike Meyer <m...@mired.org> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org -- 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