Re: RPMs

2007-05-25 Thread David Fetter
On Thu, May 24, 2007 at 11:12:57AM -, Rafael Garcia-Suarez wrote: > David Fetter wrote in perl.perl6.internals : > > Folks, > > > > I've been wrestling with the .spec file to generate RPMs for parrot > > 0.4.12, and so far, the .spec file is winning, so I figured I'd do > > what I always do whe

Re: [svn:parrot] r18643 - in trunk: include/parrot src

2007-05-25 Thread chromatic
On Friday 25 May 2007 18:53:08 [EMAIL PROTECTED] wrote: > Modified: trunk/src/objects.c > === >=== --- trunk/src/objects.c (original) > +++ trunk/src/objects.c Fri May 25 18:53:05 2007 > @@ -40,10 +40,9 @@ >  INTVAL >  Parrot_

Purging [-1]

2007-05-25 Thread Jonathan Lang
I just went through all of the synopses searching for instances where [-1] is still being referenced in its perl5 sense; the following patches update them to correct perl6 syntax. I also took the liberty of fixing up a markup glitch in S03.pod. =begin S02 @@ -1379,7 +1379,7 @@ =item * -The C<

Re: x and xx operators fail when given negatives

2007-05-25 Thread Moritz Lenz
Hi, Chas Owens wrote: > "-" x -1 should evaluate to an empty string and 0 xx -1 should > evaluate to an empty list. I have hacked pugs/src/Pugs/Prim.hs to > correctly handle negatives, but I don't know Haskell very well and am > not familiar with the layout of Pugs, so I may have written bad code

Re: x and xx operators fail when given negatives

2007-05-25 Thread Chas Owens
it looks like the patch did not make it to the list, so here it is inline diff -ruN pugs.orig/src/Pugs/Prim.hs pugs/src/Pugs/Prim.hs --- pugs.orig/src/Pugs/Prim.hs 2007-05-25 16:34:55.0 -0400 +++ pugs/src/Pugs/Prim.hs 2007-05-25 15:59:47.0 -0400 @@ -923,6 +923,11 @@ | l

x and xx operators fail when given negatives

2007-05-25 Thread Chas Owens
"-" x -1 should evaluate to an empty string and 0 xx -1 should evaluate to an empty list. I have hacked pugs/src/Pugs/Prim.hs to correctly handle negatives, but I don't know Haskell very well and am not familiar with the layout of Pugs, so I may have written bad code in a bad place. I have also

what is the behavior of the x operator (string replication) with negative values

2007-05-25 Thread Chas Owens
In my mind perl -le 'print join "\n", map { "[" . 0 x $_ . "]" } -1 .. 1' and pugs -e 'say join "\n", map { "[{ 0 x $_}]" }, -1 .. 1' should both print [] [] [0] But the Pugs code throws pugs: List.genericTake: negative argument Is this Pugs specific behavior or has the the x operator change

Re: [RFC] extension guessing, functionally better loader behavior -> working install target

2007-05-25 Thread Mike Mattie
Here is the first part of my response. I have dropped the parts about re-factoring and the library.paths parts so we can get on the same page design wise. Here goes I wanted to reply to this before you left on vacation, but Thunderbird crashed taking several unfinished replies with it. (Fr