3 ms·
You could get most of the way there with a straightforward module in Perl6: sub infix:<ᛈ>($ᛣ, $ᛤ) { $ᛣ + $ᛤ } my @ᚠᛁᛒ := 0, 1, * ᛈ * ... *
by colomon 11y ago
You could get most of the way there with a straightforward module in Perl6:
sub infix:<ᛈ>($ᛣ, $ᛤ) {
$ᛣ + $ᛤ
}
my @ᚠᛁᛒ := 0, 1, * ᛈ * ... *;
say @ᚠᛁᛒ[100];
Don't know that I'd particularly recommend it, though!
- steve19 11y agoso just business-as-usual for a Perl5 programmer?
- JupiterMoon 11y agoGiven that a monkey with a typewriter could create the full works of Shakespeare with infinite time, could a monkey with a Perl interpreter create a valid Perl program that does your string processing in under 1 minute?