On Wed, Sep 30, 2009 at 11:58 PM, wrote:
>
> Author: moritz
> Date: 2009-10-01 08:58:00 +0200 (Thu, 01 Oct 2009)
> New Revision: 28523
>
> Modified:
> docs/Perl6/Spec/S32-setting-library/Numeric.pod
> Log:
> [S32::Num] More thoughts on Inf/NaN Complex, and on comparing Complex and
> Real number
Jon Lang wrote:
On Wed, Sep 30, 2009 at 11:58 PM, wrote:
+C is an immutable type. Each C object stores two numbers,
+the real and imaginary part. For all practical purposes a C with
+a C in real or imaginary part may be considered a C itself (and
+C<(NaN + 1i) ~~ NaN> is C).
I'm not sure that
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #69492]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=69492 >
rakudo: sub foo(:$) {}; say &foo.signature.perl
rakudo c8181a: OUTPUT«:(Any $?)»
tha
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #69494]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=69494 >
rakudo: my %h = '' => 3; sub foo(:$) { say 5; }; foo |%h
rakudo c8181a: OUTPUT«FixedIn
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #69498]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=69498 >
rakudo: sub foo($a = $default, :$default = 42) {}; say "alive"
rakudo c8181a: OUTPUT«a
Darren Duncan wrote:
> Jon Lang wrote:
>> I'm not sure that I feel comfortable locking C into
>> rectilinear coordinates as its internal storage method, as there will
>> be cases where the code operates more smoothly if you're using polar
>> coordinates to store the numbers: we should leave the inn
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #69522]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=69522 >
rakudo: sub foo { "OH NOES" }; constant foo = 5; say foo
rakudo ffe648: OUTPUT«invoke(
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #69518]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=69518 >
rakudo: subset Foo of Object where Str | Int; my $foo =
Foo.new; say $foo.WHAT
rakudo
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #69516]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=69516 >
rakudo: sub foo( :f($foo) ) {}; say &foo.signature.perl
rakudo ffe648: OUTPUT«:(Any :$
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #69520]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=69520 >
this one's interesting:
rakudo: try { warn "OH HAI"; say "1" }; say "2"
rakudo ffe648
Some further thoughts:
Essentially, this could be done as an extension of the versioning
system. The difference between "possrep" versioning and normal
versioning would lie in the means by which the possrep dimension would
be resolved if not specified. Namely, the compiler would make the
decisio
Author: lwall
Date: 2009-10-01 18:53:43 +0200 (Thu, 01 Oct 2009)
New Revision: 28528
Modified:
docs/Perl6/Spec/S04-control.pod
docs/Perl6/Spec/S32-setting-library/Basics.pod
docs/Perl6/Spec/S32-setting-library/IO.pod
Log:
[S04] add statement_prefix:
[IO] add "note" function as say to stde
On Thu, Oct 1, 2009 at 9:53 AM, wrote:
> The Perl 6 equivalent to Perl 5's C is C.
> (Perl 6's C function only evaluates strings, not blocks.)
> -A C block by default has a C block that handles all
> +A C block by default has a C block that handles all fatal
> exceptions by ignoring them. If
Jon Lang wrote:
> On Wed, Sep 30, 2009 at 11:58 PM, wrote:
>>
>> Author: moritz
>> Date: 2009-10-01 08:58:00 +0200 (Thu, 01 Oct 2009)
>> New Revision: 28523
>>
>> Modified:
>> docs/Perl6/Spec/S32-setting-library/Numeric.pod
>> Log:
>> [S32::Num] More thoughts on Inf/NaN Complex, and on comparing
On Thu, Oct 1, 2009 at 10:15 PM, Moritz Lenz wrote:
>
>
> What's the 0th root of a number, then?
> It would be a number $y for which $y ** 0 == $x, which can only be
> fulfilled for $x == 1. So in the general cases the answer to the
> question root($x, 0) is nonsense, which is best mapped to NaN.
On Oct 1, 2009, at 4:15 PM, Moritz Lenz wrote:
-Returns a list of all C<$n>th (complex) roots of C<$x>
+Returns a list of all C<$n>th (complex) roots of C<$x>. Returns
C if
+C<< $n <= 0 >>, itself if C<$n == 0>, and is free to return a
single C
Shouldn't this be "C<< $n < 0 >>"?
What's t
On Oct 1, 2009, at 4:43 PM, Jan Ingvoldstad wrote:
On Thu, Oct 1, 2009 at 10:15 PM, Moritz Lenz
wrote:
What's the 0th root of a number, then?
It would be a number $y for which $y ** 0 == $x, which can only be
fulfilled for $x == 1. So in the general cases the answer to the
question root($x, 0)
Jan Ingvoldstad wrote:
> On Thu, Oct 1, 2009 at 10:15 PM, Moritz Lenz wrote:
>>
>>
>> What's the 0th root of a number, then?
>> It would be a number $y for which $y ** 0 == $x, which can only be
>> fulfilled for $x == 1. So in the general cases the answer to the
>> question root($x, 0) is nonsense
# P35 (**) Determine the prime factors of a given positive integer.
This test fails for me with the latest Rakudo. It looks like this is
because when a variable is pushed onto an array, and then
auto-incremented, it is also auto-incremented inside the array.
my @stuff;
my $w = 1;
@stuff.push
# New Ticket Created by v-lk
# Please include the string: [perl #69524]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=69524 >
Hello!
I've installed rakudo on my PC with Ubuntu AMD64.
Everything was OK, BUT later I began
On Thu, Oct 1, 2009 at 11:03 PM, Minimiscience wrote:
> On Oct 1, 2009, at 4:43 PM, Jan Ingvoldstad wrote:
>
>> On Thu, Oct 1, 2009 at 10:15 PM, Moritz Lenz wrote:
>>
>>> What's the 0th root of a number, then?
>>> It would be a number $y for which $y ** 0 == $x, which can only be
>>> fulfilled fo
Jon Lang had some good thoughts on this.
I want to clarify or expand on my proposal so it is more clearly understood.
1. First of all, and there may have been no confusion on this but I'll say it
anyway:
When a class has multiple possreps, one main point here is that users could use
the cla
--
Will "Coke" Coleda
On Oct 1, 2009, at 10:32, v-lk (via RT) > wrote:
# New Ticket Created by v-lk
# Please include the string: [perl #69524]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=69524 >
Hello!
I've install
Em Qui, 2009-10-01 às 12:22 -0400, Kevin Phair escreveu:
> This test fails for me with the latest Rakudo. It looks like this is
> because when a variable is pushed onto an array, and then
> auto-incremented, it is also auto-incremented inside the array.
> my @stuff;
> my $w = 1;
> @stuff.push($w
24 matches
Mail list logo