[erlang-questions] Random newbie stuff

Brandon Black blblack@REDACTED
Sun Nov 4 15:24:29 CET 2007


On 11/4/07, Dennis Byrne <dbyrne@REDACTED> wrote:
>
> Yeah, memorization is a good way to put it.  The closest thing I've seen to
> this was from a friend of mine who was using aspects to implement method
> level caching in java. This of course is not supported by the language
> itself.

In Perl it's not a core language feature either, but basically this
module implements generic memoization:

http://search.cpan.org/~mjd/Memoize-1.01/

And then this module ties that together with function attributes for
prettier syntax:

http://search.cpan.org/~dankogai/Attribute-Util-1.02/lib/Attribute/Memoize.pm

-- Brandon



More information about the erlang-questions mailing list