On Fri, 29 May 2009, Darren Duncan wrote:
Timothy S. Nelson wrote:
How about if xx became x, and then we did things like:
[~] @list x $count
...to get the string replciation?
Maybe you meant this?
[~] $item x $count
No, I'm pretty sure I meant what I wrote. But if x coerced $item into
a list (treated it as a list of one item), then that would work too.
I like that a lot.
And we could still have ~x as a shorthand for that specific case since it
would likely be used often enough.
Well, if we think it warrants it. About the only P5 operator I use
less than x are the bitwise ones, and the '...' operator. And maybe modulus.
If I only had the one replication operator to remember, I think I'd
prefer it. But I'm happy with whatever Larry decides.
:)
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: wayl...@wayland.id.au | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----