Re: routine arrow syntax and return/of types

2009-03-20 Thread Darren Duncan
Jon Lang wrote: And AFAIK the token --> is used in exactly one place in perl 6: within signature syntax, to mark the transition from the parameter signature to the "return type" signature. As with Darren, I don't see why this would be a big problem. The biggest stumbling block that I can think

[perl #57270] close and then print causes assertion failure

2009-03-20 Thread jn...@jnthn.net via RT
On Sat Jul 26 06:15:06 2008, jn...@jnthn.net wrote: > On Fri Jul 25 20:58:01 2008, pmichaud wrote: > > Given that this is a failed assertion (as opposed to > > a thrown exception), I'm not sure that we -can- catch > > this at the Rakudo level. I think Parrot should be > > throwing an exception her

[perl #62540] [BUG] $*ERR has stopped giving access to the standard error stream

2009-03-20 Thread jn...@jnthn.net via RT
On Tue Jan 20 14:55:22 2009, mberends wrote: > perl6 -e '$*ERR.say: "hello";' # writes to stderr > > This diagnostic type statement was very useful to insert > into potentially buggy code, but between r35309 (good) and > r35568 (bad) began to fail with: > > Cannot write to a filehandle not opene

Rakudo Perl development release #15 ("Oslo")

2009-03-20 Thread Patrick R. Michaud
On behalf of the Rakudo development team, I'm pleased to announce the March 2009 development release of Rakudo Perl #15 "Oslo". Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1]. The tarball for the March 2009 release is available from http://www.pmichaud.com/perl6/rakudo

[perl #63230] [TODO] Implement renaming of named parameters in Rakudo

2009-03-20 Thread jn...@jnthn.net via RT
On Sat Feb 14 03:58:06 2009, masak wrote: > $ perl6 -e 'sub formalize($text, :case($case), :justify($justify)) > {...}' > Unable to parse multisig; couldn't find final ')' at line 1, near > ":case($cas" > [...] > > Example straight out of S06:721. Implemented in git 703b36e plus added tests becau

[perl #63864] Void-context prompt in Rakudo prints but doesn't read from $*IN

2009-03-20 Thread jn...@jnthn.net via RT
On Sat Mar 14 03:57:46 2009, masak wrote: > it seems that void-context prompt doesn't read a line, though. > is that a bug or a feature? > hmm > if a feature, it seems not such a desirable one, by me. > I mean, print already does that, and has a more apt name for > the purpose. > I'm not sure

[perl #63170] Null PMC access when calling method on proto-object on imported role, when the method has a parameter with another role as a type

2009-03-20 Thread jn...@jnthn.net via RT
On Thu Feb 12 01:22:34 2009, masak wrote: > In Rakudo b2e7ac, Parrot r36619: > > $ cat A.pm > use v6; > role A { method x(B $b) {} } > $ perl6 -e 'role B {}; use A; A.x(B)' > Null PMC access in isa() > [...] > > Observations: > > * The role A must be imported for this to happen. > * The paramete

Re: filing a ticket

2009-03-20 Thread Moritz Lenz
Hello, Amir E. Aharoni wrote: > I wanted to file a couple of tickets about Rakudo. Unfortunately, i > couldn't find instructions for doing it anywhere at www.rakudo.org or > dev.perl.org/perl6/ . > > So how do i do it? By writing a mail to rakudo...@perl.org. We should add that rakudo to the ins

[perl #64032] perl6.exe not functioning on Cygwin

2009-03-20 Thread Amir E. Aharoni (via RT)
# New Ticket Created by Amir E. Aharoni # Please include the string: [perl #64032] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64032 > `cat build/PARROT_REVISION' : 37414 `./perl6 -v' : This is Rakudo Perl 6, revision 3

Re: r25891 - in docs/Perl6/Spec: . S32-setting-library

2009-03-20 Thread Jonathan Worthington
Daniel Ruoso wrote: Em Sex, 2009-03-20 às 14:08 +0100, Jonathan Worthington escreveu: It's probably a minor issue, but part of me wants Junction to be OK too for explaining stuff. Telling people the default parameter type is Any, to accept anything they can write Object and to accept just ju

Re: r25891 - in docs/Perl6/Spec: . S32-setting-library

2009-03-20 Thread Daniel Ruoso
Em Sex, 2009-03-20 às 14:08 +0100, Jonathan Worthington escreveu: > It's probably a minor issue, but part of me wants Junction to be OK too > for explaining stuff. Telling people the default parameter type is Any, > to accept anything they can write Object and to accept just junctions > you writ

Re: r25891 - in docs/Perl6/Spec: . S32-setting-library

2009-03-20 Thread Jonathan Worthington
Daniel Ruoso wrote: Em Qua, 2009-03-18 às 18:50 -0700, Larry Wall escreveu: On Wed, Mar 18, 2009 at 06:32:18PM -0700, Jon Lang wrote: : > +method !eigenstates (Junction $j: --> List) : : Shouldn't that be lowercase-j junction? Maybe, though there might be a Junction role involved for su

[perl #63958] [BUG] Role composition error in module A::B used from A::A

2009-03-20 Thread jn...@jnthn.net via RT
On Wed Mar 18 00:05:22 2009, matt-w wrote: > This seems to require several files to reproduce. > > t.pl: > > use v6; > use A::A; > say "alive"; > > A/A.pm: > > module A::A; > use A::B; > > A/B.pm: > > module A::B; > > role B { } > class D does A::B::B { } > > > upon running t.pl, this happ

Re: filing a ticket

2009-03-20 Thread Jonathan Worthington
Amir E. Aharoni wrote: I wanted to file a couple of tickets about Rakudo. Unfortunately, i couldn't find instructions for doing it anywhere at www.rakudo.org or dev.perl.org/perl6/ . So how do i do it? Apologies for the lack of information. Short answer: send email to rakudo...@perl.org to

Re: r25891 - in docs/Perl6/Spec: . S32-setting-library

2009-03-20 Thread Daniel Ruoso
Em Qua, 2009-03-18 às 18:50 -0700, Larry Wall escreveu: > On Wed, Mar 18, 2009 at 06:32:18PM -0700, Jon Lang wrote: > : > +method !eigenstates (Junction $j: --> List) > : > : Shouldn't that be lowercase-j junction? > Maybe, though there might be a Junction role involved for subtype > matches l

filing a ticket

2009-03-20 Thread Amir E. Aharoni
Hi, I wanted to file a couple of tickets about Rakudo. Unfortunately, i couldn't find instructions for doing it anywhere at www.rakudo.org or dev.perl.org/perl6/ . So how do i do it? -- Amir Elisha Aharoni heb: http://haharoni.wordpress.com | eng: http://aharoni.wordpress.com cat: http://apren

Re: Rakudo release tomorrow

2009-03-20 Thread Jonathan Worthington
Patrick R. Michaud wrote: Hello, everyone! I'm now officially back from a very restful and enjoyable family vacation. Glad you got some rest and fun. :-) I intended to put out a call for release blockers yesterday but we got back to our hotel room very late and we had to get up early thi

Re: Rakudo release tomorrow

2009-03-20 Thread Jonathan Worthington
Carl Mäsak wrote: Patrick (>): I intended to put out a call for release blockers yesterday but we got back to our hotel room very late and we had to get up early this morning to pack and catch our flights home. So, although I'm fairly sure that I could cut the release now and everything woul

[perl #63978] eval() in fails inside of methods

2009-03-20 Thread jn...@jnthn.net via RT
On Wed Mar 18 18:21:15 2009, ihrd wrote: > > class C { > method foo { eval("':)'.say") } > } > > C.foo; > > die with: > Null PMC access in inspect_str() > current instr.: 'eval' pc 16074 (src/builtins/control.pir:317) > <...> > Fixed in git 977b948, and we now have spectests for this too t

[perl #64026] rakudo - eval() in a method

2009-03-20 Thread via RT
# New Ticket Created by Carl Franks # Please include the string: [perl #64026] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64026 > eval() within a method fails with a "NULL PMC access" error, though all tests + spectests

Re: [perl #64014] non-declared variables on same line aren't detected

2009-03-20 Thread Moritz Lenz
Carl Mäsak via RT wrote: On Thu Mar 19 16:56:41 2009, ml...@physik.uni-wuerzburg.de wrote: 00:49 < p6eval> rakudo c26021: OUTPUT«Null PMC access in isa()␤current instr.: 'parrot;List;!flatten' pc 6213 (src/classes/List.pir:253)␤» 00:50 < moritz_> now that should complain at compile time about $x

Re: Rakudo release tomorrow

2009-03-20 Thread Carl Mäsak
Patrick (>): > I intended to put out a call for release blockers yesterday but > we got back to our hotel room very late and we had to get up early > this morning to pack and catch our flights home.  So, although I'm > fairly sure that I could cut the release now and everything > would be okay, I'd

[perl #64020] [PATCH] Implement inline PIR versions of lc, ceiling, floor and round

2009-03-20 Thread via RT
# New Ticket Created by Cory Spencer # Please include the string: [perl #64020] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64020 > The following patch implements the P6 versions of Any.pm's lc, ceiling, floor and rou

[perl #64002] smartmatch fail in some compositions

2009-03-20 Thread via RT
# New Ticket Created by Daniel Ruoso # Please include the string: [perl #64002] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64002 > role Foo {}; role Bar {}; role SigType does Foo does Bar {}; say SigType ~~ Foo; # this

Re: Dallas.p6m

2009-03-20 Thread Timothy S. Nelson
On Thu, 19 Mar 2009, Andy Lester wrote: I think it would be better to call it Dallas.pm and just talk about Perl 6 in the meeting announcements. The key is that we don't want people to think they must choose one or the other. Technologically, Perl 5 and Perl 6 are very different, but cultura

[perl #64014] non-declared variables on same line aren't detected

2009-03-20 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #64014] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64014 > 00:49 < p6eval> rakudo c26021: OUTPUT«Null PMC access in isa()␤current instr.: 'parrot;Li

[perl #63994] for loop with optional second value should not care if the are not enough values

2009-03-20 Thread via RT
# New Ticket Created by Gabor Szabo # Please include the string: [perl #63994] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63994 > for (1,2,3) -> $a, $b? { say $a*$b } throws exception on StopIteration as it runs out of

[perl #64008] Assignment to my-variables happens too early

2009-03-20 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #64008] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64008 > 00:42 <@TimToady> rakudo: eval 'say $x'; my $x = 5; 00:42 < p6eval> rakudo c26021: RESULT

[perl #64022] fails with ::MySig ::= :(Num, Str)

2009-03-20 Thread via RT
# New Ticket Created by Hojung Yoon # Please include the string: [perl #64022] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64022 > rakudo: my ::MyType ::= :(Num, Str) rakudo c26021: OUTPUT«ResizablePMCArray: Can't pop

[perl #64018] Fix syntax error in sub declaration with invocant parameter

2009-03-20 Thread via RT
# New Ticket Created by Cory Spencer # Please include the string: [perl #64018] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64018 > [5:35pm] cspencer:rakudo: sub foo($x:) { say "x = $x" }; foo(2) [5:35pm] p6eval:rakudo

[perl #64012] Assignment to my-variables happens too early

2009-03-20 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #64012] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64012 > 00:42 <@TimToady> rakudo: eval 'say $x'; my $x = 5; 00:42 < p6eval> rakudo c26021: RESULT

[perl #64010] Assignment to my-variables happens too early

2009-03-20 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #64010] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64010 > 00:42 <@TimToady> rakudo: eval 'say $x'; my $x = 5; 00:42 < p6eval> rakudo c26021: RESULT

[perl #64004] Null PMC access while creating a subset of a role

2009-03-20 Thread via RT
# New Ticket Created by Daniel Ruoso # Please include the string: [perl #64004] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64004 > rakudo: role Foo {}; role Bar {}; role SigType does Foo does Bar {}; subset Really of S