[perl #64366] Bool.succ does null PMC

2009-04-04 Thread Ron Schmidt via RT
On Wed Apr 01 22:00:57 2009, wayland wrote: > rakudo: my Bool $t; $t = Bool::True; print $t.succ > I don't know what it should do, but not Null PMC. I would think it would do somthing like: rakudo: my $x = Bool::True; say ++$x rakudo 881ed3: OUTPUT«1␤» and the attached patches provide

Re: some questions about S02(type)

2009-04-04 Thread Xiao Yafeng
On Fri, Apr 3, 2009 at 10:52 PM, Moritz Lenz wrote: > Xiao Yafeng wrote: > > 1. Could I set multi-return type?like > > sub test as (Int, Str) {...} > > "as" is coercion - so to what would it coerce? Int or Str? How could the > compiler know? Or do you mean something like

Multi-Dimensional arrays

2009-04-04 Thread Peter Schwenn
Am I right that multi-dimensional arrays do not yet work fully in Rakudo?

[perl #64448] [BUG] rakudo cannot be executed outside rakudo's build directory

2009-04-04 Thread jason switzer
# New Ticket Created by "jason switzer" # Please include the string: [perl #64448] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64448 > When moving outside of the rakudo git directory, the execution of the fakexecutable a

[perl #64440] [PATCH] Configure --gen-parrot improvements.

2009-04-04 Thread via RT
# New Ticket Created by Geoffrey Broadwell # Please include the string: [perl #64440] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64440 > Attached patch squashes the following: [Configure] Use Getopt::Long instead of ma

Re: some questions about S02(type)

2009-04-04 Thread Timothy S. Nelson
On Sat, 4 Apr 2009, Xiao Yafeng wrote: 3. Could I define primary key for a bag variable? All items in a Bag are "primary keys", but there's no data additional data associated with it. I mean whether I can see Set as a table and Bag as a table with a unique constraint? like: subse

r26069 - docs/Perl6/Spec

2009-04-04 Thread pugs-commits
Author: masak Date: 2009-04-04 11:32:02 +0200 (Sat, 04 Apr 2009) New Revision: 26069 Modified: docs/Perl6/Spec/S09-data.pod Log: [S09] added table of operations that autovivify Modified: docs/Perl6/Spec/S09-data.pod === --- docs/P

Re: [perl #64448] [BUG] rakudo cannot be executed outside rakudo's build directory

2009-04-04 Thread Jonathan Worthington
jason switzer (via RT) wrote: According to pmichaud: (00:10:51) pmichaud: oh, looks like a bug jnthn introduced. (00:11:08) pmichaud: I suspect I'll have to let him repair it. (00:12:27) pmichaud: The code being generated by actions.pm is now adding a line like: .include "src/pr_macros.pir" (0

Re: Multi-Dimensional arrays

2009-04-04 Thread Carl Mäsak
Peter (>): > Am I right that multi-dimensional arrays do not yet work fully in Rakudo? Yes, you are. That is to say, you can't do this yet: my @a[4;2]; # Valid indices are 0..3 ; 0..1 There's nothing stopping you from creating an array of arrays, though. // Carl

r26081 - docs/Perl6/Spec

2009-04-04 Thread pugs-commits
Author: masak Date: 2009-04-04 14:57:29 +0200 (Sat, 04 Apr 2009) New Revision: 26081 Modified: docs/Perl6/Spec/S09-data.pod Log: [S09] removed .<> from the table It's just sugar anyway. pmurias++ for pointing that out. Modified: docs/Perl6/Spec/S09-data.pod ===

r26090 - docs/Perl6/Spec

2009-04-04 Thread pugs-commits
Author: s1n Date: 2009-04-04 20:45:14 +0200 (Sat, 04 Apr 2009) New Revision: 26090 Modified: docs/Perl6/Spec/S16-io.pod Log: [spec] minor touch-ups to better format the pod for perl5's perldoc tool. Modified: docs/Perl6/Spec/S16-io.pod =

Re: some questions about S02(type)

2009-04-04 Thread Darren Duncan
Timothy S. Nelson wrote: On Sat, 4 Apr 2009, Xiao Yafeng wrote: I mean whether I can see Set as a table and Bag as a table with a unique constraint? like: I think you have that backwards. A Set is conceptually like a Bag with a uniqueness constraint, not the other way around. s