Re: [svn:perl6-synopsis] r14405 - doc/trunk/design/syn

2007-05-29 Thread Larry Wall
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. * shou

Re: [svn:perl6-synopsis] r14405 - doc/trunk/design/syn

2007-05-29 Thread Chas Owens
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 a

Re: [svn:perl6-synopsis] r14405 - doc/trunk/design/syn

2007-05-29 Thread Larry Wall
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 som

Re: [svn:perl6-synopsis] r14405 - doc/trunk/design/syn

2007-05-29 Thread Chas Owens
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 Does "may not be c<*>" mean that the compiler should throw a fatal erro

Re: [svn:perl6-synopsis] r14405 - doc/trunk/design/syn

2007-05-29 Thread Chas Owens
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 :

Re: [svn:perl6-synopsis] r14405 - doc/trunk/design/syn

2007-05-29 Thread Larry Wall
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