[perl6/specs] a9f9c6: uncuddle maybes to avoid need for ;

2012-09-11 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: a9f9c60e33f715895323db1465ba4da26d30730d https://github.com/perl6/specs/commit/a9f9c60e33f715895323db1465ba4da26d30730d Author: Larry Wall Date: 2012-09-11 (Tue, 11 Sep 2012) Changed paths: M S17-con

Re: state statements versus state expressions

2012-09-11 Thread Nicholas Clark
On Tue, Sep 11, 2012 at 11:11:11PM +0200, Carl Mäsak wrote: > Nicholas (>): > > Where in the synopses (or other documents) does it explain why these two > > are different? > > > > $ ./perl6 -e 'sub foo {state @a = (3, 4); say ++@a[0];}; foo; foo;' > > 4 > > 5 > > $ ./perl6 -e 'sub foo {(state @a) =

Re: state statements versus state expressions

2012-09-11 Thread Carl Mäsak
Nicholas (>): > Where in the synopses (or other documents) does it explain why these two > are different? > > $ ./perl6 -e 'sub foo {state @a = (3, 4); say ++@a[0];}; foo; foo;' > 4 > 5 > $ ./perl6 -e 'sub foo {(state @a) = (3, 4); say ++@a[0];}; foo; foo;' > 4 > 4 S03:4912. "Each declarator can t

state statements versus state expressions

2012-09-11 Thread Nicholas Clark
Where in the synopses (or other documents) does it explain why these two are different? $ ./perl6 -e 'sub foo {state @a = (3, 4); say ++@a[0];}; foo; foo;' 4 5 $ ./perl6 -e 'sub foo {(state @a) = (3, 4); say ++@a[0];}; foo; foo;' 4 4 (I'm pretty sure that I remember that they intentionally *are*

[perl #114836] Rakudo 2012.08

2012-09-11 Thread via RT
# New Ticket Created by Alexander Hartmaier # Please include the string: [perl #114836] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=114836 > As just discussed in #perl6 code that I wrote with Rakudo 2011.01 stopped

Re: perl6 spec tests results ?

2012-09-11 Thread Stefan O'Rear
On Fri, Aug 31, 2012 at 09:38:43AM -0700, Carey Tilden wrote: > On Tue, Aug 28, 2012 at 2:01 PM, Moritz Lenz wrote: > > I've tried to come up with some sort of stability rating for the specs, > > and this is as far as I got: https://gist.github.com/2346494 > > I like that a lot. Any chance such