Clojure has the
http://clojuredocs.org/clojure_core/clojure.core/memoize function
built-in, as well as https://github.com/clojure/core.memoize for more
complicated stuff.


On Sun, Apr 28, 2013 at 11:51 PM, Jorge Urdaneta
<jorge.urdan...@gmail.com>wrote:

> Hi,
>
> I started a library called memorize-clj https://github.com/jorgeu/**
> memorize-clj <https://github.com/jorgeu/memorize-clj>
> It provides a function "memorize" that take a function and cache its
> results using
> guava cache. Of course the function must be pure and the parameters should
> be
> easy to compare and get a hashcode.
>
> Maybe I'm reinventing the wheel here but it was fun to build anyway.
> I saw this feature in Groovy and couldn't found anything equivalent for
> Clojure.
>
> --
> Jorge Urdaneta
>
> --
> --
> 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+unsubscribe@**googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/**group/clojure?hl=en<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+unsubscribe@**googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out<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.


Reply via email to