Re: Proposed docs for C

2015-09-16 Thread David H. Adler
On Wed, Sep 16, 2015 at 04:42:27PM -0400, Parrot Raiser wrote: > On 9/16/15, David H. Adler wrote: > > > So, how about this > > > > perl6 -e 'sub a {state @x; @x.push(++$)}; say a for 1..6;' > > > > [1] > > [1 2] > > &c > > Even better, but how about 'for a..f'? That makes it clear that the > li

Re: Proposed docs for C

2015-09-16 Thread Parrot Raiser
On 9/16/15, David H. Adler wrote: > So, how about this > > perl6 -e 'sub a {state @x; @x.push(++$)}; say a for 1..6;' > > [1] > [1 2] > &c Even better, but how about 'for a..f'? That makes it clear that the list values are being used, not some sort of subscript. (The less ambiguity possible in a

[perl #125504] LTA error message with postcircumfix <>

2015-09-16 Thread Christian Bartolomaeus via RT
On Tue Sep 15 17:36:06 2015, b...@abrij.org wrote: > On Sun Jun 28 13:31:12 2015, alex.jakime...@gmail.com wrote: > > Obviously, this is a wrong code snippet. I meant this: > > > > my Str $a = 'x'; > > say $a; > ... > > > > > > Error: > > > postcircumfix:<{ }> not defined for type Str > > > in b

[perl #124204] [BUG] List.squish(:as(...)) needlessly stringifies things

2015-09-16 Thread Christian Bartolomaeus via RT
This was fixed with commit 24931c4307. The tests in S32-list/squish.t are passing now. I'm closing this ticket as 'resolved'.

[perl #113888] [BUG] "print 'a'.WHAT;" leaks internal variable

2015-09-16 Thread Christian Bartolomaeus via RT
On Wed Sep 16 07:56:33 2015, b...@abrij.org wrote: > On Tue Jan 20 13:39:43 2015, barto...@gmx.de wrote: > > On Wed May 14 10:24:26 2014, coke wrote: > > > On Thu Jun 28 09:52:22 2012, sisar wrote: > > > > $ perl6 --version > > > > This is perl6 version 2012.06-41-g88a9d69 built on parrot 4.5.0 > >

Proposed doc for while/until

2015-09-16 Thread David H. Adler
Note: Proposing to put this *above* repeat/while / repeat/until. https://gist.github.com/dha/0a0736b9da74a8e61e49 dha -- David H. Adler - - http://www.panix.com/~dha/ A feature is often a bug with seniority.- Chip Salzenberg

Re: Proposed docs for C

2015-09-16 Thread David H. Adler
On Tue, Sep 15, 2015 at 11:28:59AM -0500, andy_b...@wiwb.uscourts.gov wrote: > [1 1 1 1] > next > [1 1 1 1 1 1] > next > [1 1 1 1 1 1 1 1] > > vs > > [1 2 3] > next > [1 2 3 3] > next > [1 2 3 3 3] > > I think the latter is clearer, though perhaps the problem is the original > code is a bit ove

[perl #126067] sprintf and NaN, Mu, Any and Nil

2015-09-16 Thread via RT
# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #126067] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126067 > say sprintf('%f %f %f %f', Mu, Any, Nil, NaN); # output: rakudo-moar ed47bb: OUTPUT«0