Author: larry
Date: Tue May 29 11:14:43 2007
New Revision: 14405
Modified:
doc/trunk/design/syn/S03.pod
Log:
Clarification of x and xx semantics requested by chas.owens++
Modified: doc/trunk/design/syn/S03.pod
==
On Tue, May 29, 2007 at 04:05:39PM -0400, Chas Owens wrote:
: On 5/29/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
: snip
: +If the count is less than 1, returns the null string.
: +The count may not be C* because Perl 6 does not support
: +infinite strings. (At least, not yet...)
: snip
:
:
On 5/29/07, Larry Wall [EMAIL PROTECTED] wrote:
On Tue, May 29, 2007 at 04:05:39PM -0400, Chas Owens wrote:
: On 5/29/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
: snip
: +If the count is less than 1, returns the null string.
: +The count may not be C* because Perl 6 does not support
:
On Tue, May 29, 2007 at 04:43:20PM -0400, Chas Owens wrote:
: Just an odd corner case, but
:foo x -*
: should return an empty string and
:foo xx -*
: should return an empty list, right?
I'm doubt prefix:-:(Whatever) is defined at all, so that's probably
a run-time failure unless someone
On 5/29/07, Larry Wall [EMAIL PROTECTED] wrote:
On Tue, May 29, 2007 at 04:43:20PM -0400, Chas Owens wrote:
: Just an odd corner case, but
:foo x -*
: should return an empty string and
:foo xx -*
: should return an empty list, right?
I'm doubt prefix:-:(Whatever) is defined at all, so
On Tue, May 29, 2007 at 05:29:18PM -0400, Chas Owens wrote:
: Okay, obviously I have more synopsis to read, but currently Pugs says:
: pugs my $posinf = *
: Inf
: pugs my $neginf = -*
: -Inf
:
: which made me think * is Inf in scalar context. Is this a bug in Pugs then?
Yes, basically. *