On 6/2/07, Jonathan Lang <[EMAIL PROTECTED]> wrote:
Is there any reason why we can't simply define '$a x $n' as being
shorthand for 'cat($a xx $n)'?  In what way does the former differ
from the latter, other than the use of a Whatever in place of $n?

--
Jonathan "Dataweaver" Lang

"$a x $n" is equivalent to "join '', $a xx $n", but that isn't an apt
description of its behavior.  "cat($a xx *)" is an attempt to provide
an infinite string since 'a' x Inf would result in memory overflow
(but the cat trick works since lists are evaluated lazily).

Reply via email to