Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!


so just business-as-usual for a Perl5 programmer?


Given 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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: