Will Coleda wrote:
On Thu, Jan 22, 2009 at 11:45 AM, Patrick R. Michaud wrote:
On Wed, Jan 21, 2009 at 09:00:23AM -0800, c...@cvs.perl.org wrote:
Author: coke
Date: Wed Jan 21 09:00:22 2009
New Revision: 35869
Modified:
trunk/languages/perl6/src/classes/Range.pir
Log:
Add a basic
Dave Whipp wrote:
Darren Duncan wrote:
Dave Whipp wrote:
sub sqrt(Num where { 0 <= $_ <= Real::Max } $x) {
(0..$x/2 :by(Real::Epsilon)).min: { abs $x - $^candidate ** 2 }
}
So do you really mean "as declarative a manner as possible"? Or would
you consider this example to go beyond "possib
The attached patch updates languages/perl6/Test.pm. I realize that with the
new testing discussion, this may be useless in the long run, but if anyone is
hacking on Rakudo now, they might find it useful.
Features:
1. 'no_plan' is now supported:
plan *;
2. Diagnostics:
is 2,3;
#
On Thu Jan 22 06:58:15 2009, coke wrote:
> This is my fault;
>
> I added a simplistic Range.pick without running the spectest.
>
> The original functionality defaulted to flattening the range into a
> list, which made (1..1000).pick.say rather slow.
>
> I added Range.pick() (no args), but m
# New Ticket Created by Daniel Ruoso
# Please include the string: [perl #62628]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62628 >
I'd expect the following:
ok(1 ~~ Int, '1 is an Int);
ok(1 ~~ Rat, 'the rational number
On Thu, Jan 22, 2009 at 11:45 AM, Patrick R. Michaud wrote:
> On Wed, Jan 21, 2009 at 09:00:23AM -0800, c...@cvs.perl.org wrote:
>> Author: coke
>> Date: Wed Jan 21 09:00:22 2009
>> New Revision: 35869
>>
>> Modified:
>>trunk/languages/perl6/src/classes/Range.pir
>>
>> Log:
>> Add a basic vers
On Wed, Jan 21, 2009 at 09:00:23AM -0800, c...@cvs.perl.org wrote:
> Author: coke
> Date: Wed Jan 21 09:00:22 2009
> New Revision: 35869
>
> Modified:
>trunk/languages/perl6/src/classes/Range.pir
>
> Log:
> Add a basic version of .pick() for Range and hopefully not break anything.
The versio
Darren Duncan wrote:
Dave Whipp wrote:
sub sqrt(Num where { 0 <= $_ <= Real::Max } $x) {
(0..$x/2 :by(Real::Epsilon)).min: { abs $x - $^candidate ** 2 }
}
So do you really mean "as declarative a manner as possible"? Or would
you consider this example to go beyond "possible"?
I would decl
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62622]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62622 >
masak: can you submit the 'my Int $x = +"2"' bug please?
* masak submits
rakudo: my In
# New Ticket Created by "Ifejinelo Onyiah"
# Please include the string: [perl #62612]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62612 >
I have just updated my parrot & rakudo installation. I ran the spectests:
make te
The skip multisub in Rakudo's Test.pm is defined like this:
multi sub skip() is export() { proclaim(1, "# SKIP"); }
multi sub skip($desc) is export() { proclaim(1, "# SKIP " ~ $desc); }
multi sub skip($count, $desc) is export() {
for 1..$count {
proclaim(
On Tue Jan 13 08:58:08 2009, pmichaud wrote:
> On Tue, Jan 13, 2009 at 05:17:16PM +0100, Jonathan Worthington wrote:
> > Patrick R. Michaud wrote:
> >> Confirmed -- there are still issues with lexicals in a
> >> variety of control blocks.
> >>
> >>
> > I skimmed the code for that today. I notice
On Sat Nov 29 17:03:22 2008, masak wrote:
> Rakudo r33329 can't instantiate classes that contain a grammar.
>
> $ perl6 -e 'class A { grammar B {} }; A.new'
> Null PMC access in get_string()
> [...]
Fixed in r35884, and tests added in Pugs r25000 (plus to make sure you
can invoke rules in the nes
On Sun Dec 14 02:13:42 2008, masak wrote:
> In Rakudo r33860, the following happens when you try to put a method
> in an outer class after having defined an inner class:
>
> $ perl6 -e 'class A { class B {}; method x { say self.WHAT } }; A.new.x'
> Null PMC access in get_string()
> [...]
>
> $ pe
On Sun Dec 21 07:55:53 2008, masak wrote:
> rakudo 34202: OUTPUT[Failure]
> rakudo: class Outer { class Inner {} }; say Inner.WHAT
> rakudo 34202: OUTPUT[Inner]
> * masak submits rakudobug
Fixed in r35884, and tests added in Pugs r24999.
Thanks,
Jonathan
15 matches
Mail list logo