Good job. I miss ASCII art :)
_dan
Sent from my iPhone...
On Sep 13, 2010, at 10:26 AM, jkpeters_37 wrote:
> :
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #77920]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=77920 >
23:53 < moritz_> rakudo: enum A ; enum A ;
23:53 <+p6eval> rakudo a204ba: OUTPUTĀ«===SORRY
yary wrote:
> A "roll" method was just added, though I don't think its implemented
> yet.
It is. .roll is what .pick(:replace) used to be, so it was "just" a
matter of splitting up the existing methods
$ ./perl6 -e 'say ~(1..6).roll(10)'
3 1 5 6 5 6 5 4 2 5
(works in Rakudo HEAD, and will work i
This is an automatically generated mail to inform you that tests are now
available in S32-temporal/DateTime.t
commit a32217d59ab879347a7f6773faa8a39b7249ec03
Author: Kodi Arfer
Date: Sat Sep 18 17:02:02 2010 -0400
[DateTime.t] Added tests for RT #77910.
diff --git a/S32-temporal/DateTime
return round 1 + rand * $!sides;
Might be good to refer to http://perlcabal.org/syn/S32/Containers.html
for a more idiomatic way of picking an integer, eg "return
(1..$sides).pick"
A "roll" method was just added, though I don't think its implemented
yet. If you're only getting one value then
This is an automatically generated mail to inform you that tests are now
available in S03-operators/binding-scalars.t
commit 6a095360415445b153a46db4eb3c892876a0659f
Author: Moritz Lenz
Date: Sat Sep 18 20:01:07 2010 +0200
test for RT #77462: binding should have list assignment precedence
This is an automatically generated mail to inform you that tests are now
available in S03-operators/short-circuit.t
commit 519bef8c25fae4227ae9676f84da410b39291357
Author: Moritz Lenz
Date: Sat Sep 18 19:54:10 2010 +0200
some basic tests for RT #77864, &&=, ||= etc. One of them fails
dif
This is an automatically generated mail to inform you that tests are now
available in S02-builtin_data_types/array.t
commit 5ca3dae8bbf33a3e051a2e5389bea2c68c1b3448
Author: Moritz Lenz
Date: Sat Sep 18 19:46:16 2010 +0200
test for RT #57790, scalars indexed with [1] should return a Failur
This is an automatically generated mail to inform you that tests are now
available in S02-builtin_data_types/hash.t
commit 8c3cfd3736de11047d6041384bfa9c8e043c7533
Author: Moritz Lenz
Date: Sat Sep 18 19:41:25 2010 +0200
test for RT #75868, Match objects as Hash keys
diff --git a/S02-bui
This is an automatically generated mail to inform you that tests are now
available in S32-list/reverse.t
commit 280ebdecb2c27f6e27a9c74140c91f461b95f10e
Author: Moritz Lenz
Date: Sat Sep 18 19:34:58 2010 +0200
test for RT #77914, .reverse shoudl flatten parcels
Also removes some
Phil Crow wrote:
> class Die;
>
> has Int $!sides;
>
> method new( Int $sides = 6 ) {
> return self.bless( *, :$sides );
> }
>
> method roll() returns Int {
> return round 1 + rand * $!sides;
> }
Just as a side note, this is could be easier written as
Background and Initial Questions
I'm excited to see such great advances in Rakudo and have enjoyed its
fundamental power and beauty. In reading Tim Bunce's blog, I saw a
call for an introduction to Perl 6 for Java programmers. Since Java
programming is a big part of my day job, I decided to see
12 matches
Mail list logo