[perl #64262] the CATCH block catching its own exception recursively forever

2009-03-29 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #64262] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64262 > Hi there, example: try{ foo; CATCH { die 1 } } S04, L800: A C block sees th

Re: [perl #62974] Signed-zero tests failing on Windows XP

2009-03-29 Thread ajr
> > Can you give us any update on these tests on the same platform? > All seems to be well here, too. (At svn 37803.) C:\parrot>prove t\op\arithmetics.t t\op\arithmeticsok All tests successful. Files=1, Tests=23, 4 wallclock secs ( 0.08 usr + 0.01 sys = 0.09 CPU) Result: PASS C:\parrot>pr

[perl #64246] [PATCH] Add a Perl 6 version of chr, ord and chars to the setting

2009-03-29 Thread via RT
# New Ticket Created by Cory Spencer # Please include the string: [perl #64246] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64246 > The following patch adds inline PIR versions of chr, ord and chars to Any.pm in the s

Re: [perl #62974] Signed-zero tests failing on Windows XP

2009-03-29 Thread Will Coleda
On Sat, Mar 28, 2009 at 1:15 PM, wrote: >> >> Can you give us any update on these tests on the same platform? >> > > All seems to be well here, too. (At svn 37803.) > > C:\parrot>prove t\op\arithmetics.t > t\op\arithmeticsok > All tests successful. > Files=1, Tests=23,  4 wallclock secs ( 0.0

Re: [perl #62528] Match.keys method returns nothing.

2009-03-29 Thread Moritz Lenz
Since afaict this is not specced, I'll hand that over to p6l. Eric Hodges (via RT) wrote: > use v6; > > rule test {test}; > > "test" ~~ //; > say '$/.keys => ', $/.keys.perl; > say '%($/).keys => ', %($/).keys.perl; > > # outputs > # $/.keys => [] > # %($/).keys => ["test"] > > > Same could be

Re: On Junctions

2009-03-29 Thread Moritz Lenz
Jon Lang wrote: > I stand corrected. That said: with the eigenstates method now > private, it is now quite difficult to get a list of the eigenstates of > the above expression. I thought about that a bit, and I think eigenstates are not hard to extract (which somehow makes the privateness of .eig

Re: On Sets (Was: Re: On Junctions)

2009-03-29 Thread John Macdonald
On Sat, Mar 28, 2009 at 10:39:01AM -0300, Daniel Ruoso wrote: > That happens because $pa and $pb are a singular value, and that's how > junctions work... The blackjack program is an example for sets, not > junctions. > > Now, what are junctions good for? They're good for situation where it's > col

Re: Junction Algebra

2009-03-29 Thread Damian Conway
Richard Hainsworth conjectured: > 1) Is the following true for an any junction? > any( ... , any('foo','bar')) === any(...,'foo','bar') > > If yes, then > if an 'any' junction is contained in an outer 'any', the inner 'any' can be > factored out? Yes. More precisely, an 'any' that is directly nes

Re: On Sets (Was: Re: On Junctions)

2009-03-29 Thread Jon Lang
On Sun, Mar 29, 2009 at 1:18 PM, John Macdonald wrote: > On Sat, Mar 28, 2009 at 10:39:01AM -0300, Daniel Ruoso wrote: >> That happens because $pa and $pb are a singular value, and that's how >> junctions work... The blackjack program is an example for sets, not >> junctions. >> >> Now, what are j

Re: [perl #62528] Match.keys method returns nothing.

2009-03-29 Thread Jon Lang
Moritz Lenz wrote: > Since afaict this is not specced, I'll hand that over to p6l. > > Eric Hodges (via RT) wrote: >> use v6; >> >> rule test {test}; >> >> "test" ~~ //; >> say '$/.keys => ', $/.keys.perl; >> say '%($/).keys => ', %($/).keys.perl; >> >> # outputs >> # $/.keys => [] >> # %($/).keys

[perl #64268] Rakudo can`t parse .=sort: {...}

2009-03-29 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #64268] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64268 > Hi there, rakudo> my @a = 1,3,2; say @a.sort: {1} 132 # :) rakudo> my @a = 1,3,2; say @

[perl #64276] [TODO] implement embedded comments

2009-03-29 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #64276] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64276 > 20:55 < frioux> rakudo: say #[ foo ] "test"; 20:55 < p6eval> rakudo 370dd7: OUTPUT«say re

[perl #64270] Cannot call private &!a variables in a class in Rakudo

2009-03-29 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #64270] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64270 > rakudo: class A { has &!a = { say "OH HAI" }; method foo { &!a() } };A.new.foo rakudo

Re: On Junctions

2009-03-29 Thread Mark Lentczner
What I see here is that there is a tendency to want to think about, and operate on, the eigenstates as a Set, but this seems to destroy the "single value" impersonation of the Junction. Further, if one ever calls .!eigenstates() on a Junction, then you have really bollox'd your code up, as