# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #74352]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=74352 >
rakudo: subset A of Array; subset B of A; subset C of A;
subset D of A where B & C; say
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #74348]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=74348 >
rakudo: subset Foo of Array where { .elems == 5 }; sub bar(Foo
$_) {}; bar([1,2,3])
ra
On Tue Apr 13 06:18:16 2010, masak wrote:
> std: subset Quad of Any; sub classify($_) { when Quad {}; when
> Quad {} }
> std 30383: OUTPUT«ok 00:01 110m»
> rakudo: subset Quad of Any; sub classify($_) { when Quad {};
> when Quad {} }; say 'alive'
> rakudo cb4521: OUTPUT«Unable to parse blockoi
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #74350]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=74350 >
rakudo: class G {}; subset A of Array where { all(|$_) ~~ G };
say [G.new, G.new, G.new
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #74344]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=74344 >
17:23 <@moritz_> rakudo: proto sub a(*...@val) { say @val.perl }; a(:val)
17:23 < p6eval>
On Tue, Apr 13, 2010 at 4:51 PM, Mark J. Reed wrote:
> Seems like both NaN <= $x and NaN >= $x should return false for any
> $x, which makes me think NaN <=> $x should maybe return something
> undefined?
That reminds me of a bug I wrote in C++ one time. I had overloaded
comparisons in a way that
Seems like both NaN <= $x and NaN >= $x should return false for any
$x, which makes me think NaN <=> $x should maybe return something
undefined?
On Tuesday, April 13, 2010, Geoffrey Broadwell wrote:
> On Tue, 2010-04-13 at 05:42 -0700, Ira Byerly wrote:
>> Note that one test in t/spec/S32-list/so
===
indeed truncating to any day of the week can be implemented by user
trivially by adding/subtracting a constant number of days from the
Monday returned.
No, it's not a constant.
$sun = DateTime.new('2010-04-11').trunc( :to ) # 2010-04-11
$mon = DateTime.new('2010-04-11').trunc(
On Tue, Apr 13, 2010 at 12:35 PM, John Williams wrote:
>
>> Asking for the latest prior Sunday or any other weekday is a useful
>> function, but it doesn't really have anything to do with 'truncation'.
>>
>
> Asking for the first of the month is truncating to an even more arbitrary
> interval tha
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #74326]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=74326 >
rakudo: class A { method foo($bar:) { say $bar.WHAT } };
A.new.foo( :bar(42) )
rakudo
On Thu, 8 Apr 2010, Carl Mäsak wrote:
Among the cons: we lose the nice symmetry wherein :to clears all
values smaller than days, :to clears all values smaller than
years, etc. :to is still pretty straightforward, but it's a
subtle category error.
Of course. What I really want is for weeks to
On Tue, 2010-04-13 at 05:42 -0700, Ira Byerly wrote:
> Note that one test in t/spec/S32-list/sort.t fails...
>
> not ok 4 - array of mixed numbers including Inf/NaN
> # got: [-Inf, -61/20, -1e-07, 1/10, 11/10, 2, 42, Inf, NaN]
> # expected: [NaN, -Inf, -61/20, -1e-07, 1/10, 11/10,
# New Ticket Created by Ira Byerly
# Please include the string: [perl #74334]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=74334 >
Hello,
I noticed that certain uses of sort no longer work in Rakudo after the ng
merge in
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #74338]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=74338 >
std: subset Quad of Any; sub classify($_) { when Quad {}; when Quad {} }
std 30383: OU
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #74336]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=74336 >
rakudo: my @a = 1,2,3; my (@c) = @a; say @c.perl
rakudo cb4521: OUTPUT«[[1, 2, 3]]»
Matthew Walton wrote:
On Mon, Apr 12, 2010 at 1:22 PM, Shawn H Corey wrote:
So, I'll ask again: Where in the official documentation does it state that
Perl 6 names are case sensitive?
I think it's more important to ask where it says that they aren't.
1) Perl 5 is case sensitive, and the ori
16 matches
Mail list logo