# New Ticket Created by "Philipp Marek"
# Please include the string: [perl #71354]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=71354 >
I've got a small testcase attached, with the working way commented.
It seems that th
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #71356]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=71356 >
rakudo: class A { has $!b is readonly = "foo" }; A.new
rakudo 55f51d: ( no output )
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #71362]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=71362 >
rakudo: $/ = "abc"; say $1
rakudo 55f51d: b
hihi.
* masak submits rakudobug
rakudo:
# New Ticket Created by Heikki Mehtänen
# Please include the string: [perl #71366]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=71366 >
Hey,
There seems to be problem with Rakudo handling optional positional
parameters i
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #71364]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=71364 >
rakudo: (11/10).Rat
rakudo 55f51d: Method 'Rat' not found for invocant of class 'Rat'
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #71368]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=71368 >
std: when 42 { say "This should fail" }
std 29347: ok 00:01 106m
...because S04 says
This is an automatically generated mail to inform you that tests are now
available in t/spec/S32-num/rat.t
commit bd03a1f10d092b98deab3e0643dd54227cf3aef9
Author: moritz
Date: Wed Dec 16 20:14:00 2009 +
[t/spec] tests for RT #71364, and that === works on Rats
git-svn-id: http
The definition of the Complex type seems a little weak. A few things:
To get the Cartesian components of the value there are two methods ("re"
and "im"). In contrast there is just one method "polar" to return the
polar components of the value I'm not sure that this asymmetry is a good
thing. C
On Wed, Dec 16, 2009 at 2:10 PM, Dave Whipp wrote:
> The definition of the Complex type seems a little weak. A few things:
>
> To get the Cartesian components of the value there are two methods ("re" and
> "im"). In contrast there is just one method "polar" to return the polar
> components of the
Dave Whipp wrote:
> The definition of the Complex type seems a little weak. A few things:
>
> To get the Cartesian components of the value there are two methods ("re"
> and "im"). In contrast there is just one method "polar" to return the
> polar components of the value
Not quite, .abs returns
At 00:15 +0100 12/17/09, Moritz Lenz wrote:
>Not quite, .abs returns one of the polar coordinates (the magnitude), so
>only a method is missing that returns the angle.
>
>Any ideas for a good name?
In pre-computer times the angle was called the "argument".
But that offers plenty of room for confu
> At 00:15 +0100 12/17/09, Moritz Lenz wrote:
>>Not quite, .abs returns one of the polar coordinates (the magnitude), so
>>only a method is missing that returns the angle.
>>
>>Any ideas for a good name?
Would a method called "phi" with a unicode synonym "φ" be too obtuse?
-y
Moritz Lenz wrote:
our multi method polar (Complex $nim: --> [ Real $mag where 0..Inf,
Real $angle where -π ..^ π ]) is export { ... }
If you put this into a signature, it is checked on every call to that
method and thus slows down execution. If you want a formalization that's
not part of th
yary wrote:
At 00:15 +0100 12/17/09, Moritz Lenz wrote:
Not quite, .abs returns one of the polar coordinates (the magnitude), so
only a method is missing that returns the angle.
Any ideas for a good name?
Would a method called "phi" with a unicode synonym "φ" be too obtuse?
Anything wrong
On Dec 16, 2009, at 19:46 , Dave Whipp wrote:
yary wrote:
At 00:15 +0100 12/17/09, Moritz Lenz wrote:
Not quite, .abs returns one of the polar coordinates (the
magnitude), so
only a method is missing that returns the angle.
Any ideas for a good name?
Would a method called "phi" with a unicod
15 matches
Mail list logo