Perl 6 Summary for 2005-05-03 through 2005-05-17
All~
Welcome ot another fortnight's summary. Wouldn't it just figure that I
can't think of anything sufficiently non-sequiterish to amuse myself.
Perhaps I need a running gag like Leon Brocard or chromatic's
cummingseque capitali
An one-hour hack of mine proved fruitful. This is Perl 5 script,
calling into Perl 6 functions defined inline:
#!/usr/bin/perl
use Inline Pugs => '
sub postfix: { [*] 1..$_ }
sub sum_factorial { [+] 0..$_! }
';
print sum_factorial(3); # 21
The implementation is in