Pi: Difference between revisions
m
→{{header|Perl 6}}: simplified use of anonymous state variable
(added Ol) |
SqrtNegInf (talk | contribs) m (→{{header|Perl 6}}: simplified use of anonymous state variable) |
||
Line 3,355:
=={{header|Perl 6}}==
{{Works with|rakudo|
<lang perl6># based on http://www.mathpropress.com/stan/bibliography/spigot.pdf
Line 3,362:
$z = safe($z, my $y = next($z)) ??
prod($z, take $y) !!
cons($z, @x[
}
}
|