melpon / memoize

A method caching macro for elixir using CAS on ETS.
https://hex.pm/packages/memoize
MIT License
189 stars 12 forks source link

Support for unquote fragments #2

Closed pallix closed 6 years ago

pallix commented 6 years ago

Would it be possible to support unquote fragments?

For the moment this does not work:

        name = :some_dynamically_computed_name
        defmemo unquote(name)() do
           123
        end
melpon commented 6 years ago

Thank you for reporting. I will fix it.

melpon commented 6 years ago

I fixed at 1.2.8. Please try to latest version.

pallix commented 6 years ago

Yes it works. Thanks for your reactivity! I let you close the issue.