On Saturday, February 27, 2016, Shlomi Fish wrote:
> Hi Tom,
>
> On Sat, 27 Feb 2016 05:52:45 -0600
> Tom Browder wrote:
>
> > On rosettacode.org there is an example of memoization for calculating
> > factorials in Perl 6 (contributed by Larry Wall):
> >
> > constant fact = 1, |[\*] 1..*;
> >
You can put 'constant fact is export = '
On Sun, 28 Feb 2016 at 3:57 AM, Shlomi Fish wrote:
> Hi Tom,
>
> On Sat, 27 Feb 2016 05:52:45 -0600
> Tom Browder wrote:
>
> > On rosettacode.org there is an example of memoization for calculating
> > factorials in Perl 6 (contributed by Larry Wall):
Hi Tom,
On Sat, 27 Feb 2016 05:52:45 -0600
Tom Browder wrote:
> On rosettacode.org there is an example of memoization for calculating
> factorials in Perl 6 (contributed by Larry Wall):
>
> constant fact = 1, |[\*] 1..*;
> say fact[5];
>
> How does one code that so that results are able to
On rosettacode.org there is an example of memoization for calculating
factorials in Perl 6 (contributed by Larry Wall):
constant fact = 1, |[\*] 1..*;
say fact[5];
How does one code that so that results are able to be reused by
multiple programs?
Thanks.
Cheers!
-Tom