Re: RFC 228 (v1) Add memoize into the standard library

[email protected] (Bart Lateur) Fri, 15 Sep 2000 10:21:58 +0200
Newsgroups perl.perl6.stdlib
Organization MediaMind
Message-ID <[email protected]>
On 15 Sep 2000 02:09:23 -0000, Perl6 RFC Librarian wrote:

>A version of Memoize.pm should be added into the Perl6 standard
>library, and it should be added as a pragmatic module (i.e. memoize.pm).

Is that it?

I would rather have a flag when generating the sub, er, what's that
syntax again, ":something"?

	sub foo :memoize {
	    ...
	}

This would take out the dirty work of marking a sub as memoized.

Currently, the syntax is:

	memoize('foo');
	sub foo {
		...
	}

Blech!

-- 
	Bart.