Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^6: Numerically generate the perl sequence 1, 11, 111, ....

by TimToady (Parson)
on Oct 15, 2008 at 00:24 UTC ( #717121=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Numerically generate the perl sequence 1, 11, 111, ....
in thread Generate the perl sequence 1, 11, 111, ....

Well, obviously, the Perl 6 syntax should really be:

1,-3,-8...http://www.research.att.com/projects/OEIS?Anum=A046970
How's that for self-documenting code? :)


Comment on Re^6: Numerically generate the perl sequence 1, 11, 111, ....
Download Code
Re^7: Numerically generate the perl sequence 1, 11, 111, ....
by blazar (Canon) on Oct 15, 2008 at 19:59 UTC

    I personally believe that it's by far too verbose, losing the original attempt at conciseness, but the latter could be recovered by means of of suitable (pseudo? unofficial?r) protocol/scheme (or whatever it's really called like...) so I think that the Perl 6 syntax should really be:

    1,-3,-8...oeis://A046970
    How's that for self-documenting code?

    --
    If you can't understand the incipit, then please check the IPB Campaign.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://717121]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2014-07-24 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (156 votes), past polls