Larry Wall wrote:
On Sun, Mar 13, 2005 at 01:15:52AM -0600, Rod Adams wrote:
: =item multi sub cos (?Num) returns Num
:
: =item multi method Num::cos () returns Num
It would be nice if we could just say the first implies the second.
I guess what that effectively means is that even if you take the
Ashley Winters wrote:
On Sun, 13 Mar 2005 23:42:41 -0600, Rod Adams <[EMAIL PROTECTED]> wrote:
Ashley Winters wrote:
For documentary purposes, can we make that $radians?
multi sub cos (Num +$degrees) returns Num {
return cos :radians($degrees * PI / 180);
}
my Num $x = cos :degrees(270);
On Sun, Mar 13, 2005 at 09:32:52PM -0800, Darren Duncan wrote:
> I can't promise a fully correct solution, since I'm not familiar with
> this module yet, but I can at least do a large chunk of the
> translation on this module, and do it quickly. -- Darren Duncan
Wonderful, you++! :)
Thanks,
/Au
Rod Adams wrote:
Ashley Winters wrote:
For documentary purposes, can we make that $radians?
multi sub cos (Num +$degrees) returns Num {
return cos :radians($degrees * PI / 180);
}
my Num $x = cos :degrees(270);
I have changed the trig functions it to have an optional "base"
argument. (I'm opti
On Sun, 13 Mar 2005 23:42:41 -0600, Rod Adams <[EMAIL PROTECTED]> wrote:
> Ashley Winters wrote:
> >For documentary purposes, can we make that $radians?
> >
> >multi sub cos (Num +$degrees) returns Num {
> >return cos :radians($degrees * PI / 180);
> >}
> >
> >my Num $x = cos :degrees(270);
>
A. Pagaltzis writes:
> Hi all,
>
> so Guido is talking about his reasoning behind dropping lambda,
> reduce(), filter() and map() in the next generation of Python:
>
> http://www.artima.com/weblogs/viewpost.jsp?thread=98196
>
> [Prime quote: "I think having the two choices side-by-side just
Ashley Winters wrote:
For documentary purposes, can we make that $radians?
multi sub cos (Num +$degrees) returns Num {
return cos :radians($degrees * PI / 180);
}
my Num $x = cos :degrees(270);
I have changed the trig functions it to have an optional "base"
argument. (I'm option to new names f
I can't promise a fully correct solution, since I'm not familiar with
this module yet, but I can at least do a large chunk of the
translation on this module, and do it quickly. -- Darren Duncan
At 1:09 AM +1100 3/14/05, Adam Kennedy wrote:
At the request of Autrijus, I've just checked the P5 cur
I've posted what I have of S29 at
http://www.rodadams.net/Perl/S29.pod
http://www.rodadams.net/Perl/S29.html
I'll leave it there until it reaches some more final state.
Currently up is the "Numerical" section, covering the math related
functions.
I'd also appreciate a review of "Obsolete" to ma
On Sun, 13 Mar 2005 18:03:20 -0800, Larry Wall <[EMAIL PROTECTED]> wrote:
> On Sun, Mar 13, 2005 at 01:15:52AM -0600, Rod Adams wrote:
>
> : =item multi sub cos (?Num) returns Num
> :
> : =item multi method Num::cos () returns Num
>
> It would be nice if we could just say the first implies the se
Larry Wall wrote:
On Sun, Mar 13, 2005 at 01:15:52AM -0600, Rod Adams wrote:
: Plan of attack:
:
: I'm using a recent copy of Perl 5's perlfunc as a very rough template.
: At some point, I'll drudge through the A's and S's to look for functions
: new to Perl 6. I'll try not to make up too many n
> "LW" == Larry Wall <[EMAIL PROTECTED]> writes:
LW> I can tell you that I want both selects to be dead, but again, I'll
LW> have to translate Perl 5 to something. But some of these things
LW> can probably be translated to things like
LW> Perl5DeprecatedEmulationDoNotUseEverEverA
On Mon, Mar 14, 2005 at 01:48:23AM +, Mark Stosberg wrote:
> On 2005-03-14, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> > On Mon, Mar 14, 2005 at 01:25:16AM +, Mark Stosberg wrote:
> >> I'm sorry-- I could have made this more productive by posting my own
> >> Benchmark
> >> code in the
On Sun, Mar 13, 2005 at 01:15:52AM -0600, Rod Adams wrote:
: Barring objections, I'm going to attempt to compile a S29.
That's great. It's one of the many things I haven't been getting
around to doing...
: Plan of attack:
:
: I'm using a recent copy of Perl 5's perlfunc as a very rough template
On 2005-03-14, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 14, 2005 at 01:25:16AM +, Mark Stosberg wrote:
>> I'm sorry-- I could have made this more productive by posting my own
>> Benchmark
>> code in the first place. Look what happens when cmpthese is used. The
>> results look
On Mon, Mar 14, 2005 at 01:25:16AM +, Mark Stosberg wrote:
> I'm sorry-- I could have made this more productive by posting my own Benchmark
> code in the first place. Look what happens when cmpthese is used. The
> results look nonsensical to me:
Hmm. I guess the comparison isn't taking into a
> "AP" == A Pagaltzis <[EMAIL PROTECTED]> writes:
AP> [Prime quote: "I think having the two choices side-by-side just
AP> requires programmers to think about making a choice that's
AP> irrelevant for their program; not having the choice streamlines
AP> the thought process."]
it just p
On 2005-03-13, Michael G Schwern <[EMAIL PROTECTED]> wrote:
>
> We can just check.
>
> $ perl -MBenchmark -wle 'timethis(10, sub { `perl -wle "rand for 1..100"`
> })'
> timethis 10: 11 wallclock secs ( 0.01 usr 0.00 sys + 8.64 cusr 0.14 csys =
> 8.79 CPU) @ 1000.00/s (n=10)
>
> So the tim
On Sat, Mar 12, 2005 at 05:12:30PM -0800, Dave Whipp wrote:
: Larry Wall wrote:
: >I don't see that this buys us anything over just shortening "sprintf"
: >to something shorter, like:
: >
: > print as '%03d %15s', $foo, $bar;
: >
: >And your argument list falls out naturally from making "as" a li
On Sat, Mar 12, 2005 at 10:26:51PM -0600, Rod Adams wrote:
: You could easily write the above as
:
:say (($n1, $n2, $n3)».as('%d')).join;
:
: What I'm not certain about is if
:
:say ($n1, $n2, $n3)».as('%d').join;
:
: does the same thing, but I think it does.
Yes, hyper only modifies o
Larry Wall skribis 2005-03-12 16:03 (-0800):
> Just for the record, let me say that I expect the limit parameter
> to split to be +$limit and not ?$limit. I think a number of seldom-used
> options will go this route. Another consideration is whether the
> parameter needs to be considered for MMD.
A. Pagaltzis skribis 2005-03-13 23:40 (+0100):
> [Prime quote: "I think having the two choices side-by-side just
> requires programmers to think about making a choice that's
> irrelevant for their program; not having the choice streamlines
> the thought process."]
> But, philosophical point of view
Hi all,
so Guido is talking about his reasoning behind dropping lambda,
reduce(), filter() and map() in the next generation of Python:
http://www.artima.com/weblogs/viewpost.jsp?thread=98196
[Prime quote: "I think having the two choices side-by-side just
requires programmers to think about m
Hola!
I'd just like to mention that the development methodologies Pugs
goes by are those of the test driven school (and test development is
golf driven ;-).
Anywho, since it's interesting from a QA perspective, and it's perl
(sort of), I thought it might be a good idea to try and lure you
guys in
I am delighted to announce that Pugs 6.0.11 is now released.
Download it from a CPAN near you, or from my home server:
http://autrijus.org/dist/Perl6-Pugs-6.0.11.tar.gz
SHA1 = 9abe4158791a5bc4ef3a23c31376c2bd5942c6f3
Special thanks to Yuval "nothingmuch" Kogman for his tireless
QA effort
On Sun, Mar 13, 2005 at 09:04:03PM +0100, Francisco Olarte Sanz wrote:
> I've checked the Benchmark module docs, and it's not too clear ( for me
> ),
> but I think they measure user/system time of your proccess. If you are
> executing external code via system/backticks etc.. this is normal
At the request of Autrijus, I've just checked the P5 current version of
Algorithm::Dependency into pugs, and now we need volunteers to P6ify it.
Why this module as the next "porting a module"
1. Genuinely useful (for many things)
2. Very heavily tested, with tests accumulated for corner cases and
Leopold Toetsch via RT Ãrta:
Anteusz @ Freemail . Hu <[EMAIL PROTECTED]> wrote:
I found two bugs while trying to compile 0.1.2
Parrot is developing rapidly, please use always the CVS version for
submitting bugs and patches.
But as this one ...
I added o => '.o'.
... is still
On Sunday 13 March 2005 00:43, Mark Stosberg wrote:
> > There is also a benchmarking module cunningly named "Benchmark" which you
> > should have a look at.
> Now now, I mentioned in the message I looked at 'Benchmark' first and it
> didn't work. I got the sense it might have only been timing the
On Sun, Mar 13, 2005 at 02:55:29PM -0500, Geoffrey Young wrote:
> sounds like a plan :)
Yuk yuk.
> I haven't look at the innards in a while, but do you think the
> infrastructure is there in Test::Builder to support this now? the last time
> I checked I had to jump through some hoops to get an
Michael G Schwern wrote:
> On Sat, Mar 12, 2005 at 11:41:08PM -0500, Geoffrey Young wrote:
>
>>well, this syntax doesn't exist in Test::More at the moment (though I
>>probably should get around to a patch like I promised) - it's only in
>>Apache-Test.
>
>
> For the record, there's no reason wh
On Sat, Mar 12, 2005 at 11:41:08PM -0500, Geoffrey Young wrote:
> well, this syntax doesn't exist in Test::More at the moment (though I
> probably should get around to a patch like I promised) - it's only in
> Apache-Test.
For the record, there's no reason why Test::More has to be the one to decla
Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> Jarkko Hietaniemi <[EMAIL PROTECTED]> wrote:
> > I think this TODO item should actually be part of
> > "#34325: [TODO] parrot release 0.2.0".
>
> Yep. My "steps towards 0.2.0..." isn't in any way ment to be complete.
> Cleaning up the API and properly e
Mark Stosberg wrote:
> On 2005-03-13, Geoffrey Young <[EMAIL PROTECTED]> wrote:
>
>>nevertheless, what you are replying to was just a discussion about a feature
>>that doesn't exist in the standard Test::More toolkit but was brought up
>>because Apache-Test's plan() works a bit differently and t
Ian Langworth wrote:
> On 12.Mar.2005 11:41PM -0500, Geoffrey Young wrote:
>
>
>>nevertheless, what you are replying to was just a discussion
>>about a feature that doesn't exist in the standard Test::More
>>toolkit but was brought up because Apache-Test's plan() works
>>a bit differently and t
Anteusz @ Freemail . Hu <[EMAIL PROTECTED]> wrote:
> I found two bugs while trying to compile 0.1.2
Parrot is developing rapidly, please use always the CVS version for
submitting bugs and patches.
But as this one ...
> I added o => '.o'.
... is still the same - no problem here.
Strange an
On 2005-03-13, Geoffrey Young <[EMAIL PROTECTED]> wrote:
>
> nevertheless, what you are replying to was just a discussion about a feature
> that doesn't exist in the standard Test::More toolkit but was brought up
> because Apache-Test's plan() works a bit differently and there are enough
> people w
Jarkko Hietaniemi <[EMAIL PROTECTED]> wrote:
> I suggest that someone should use the tools/dev/parrot_api.pl
Yes please.
> I think this TODO item should actually be part of
> "#34325: [TODO] parrot release 0.2.0".
Yep. My "steps towards 0.2.0..." isn't in any way ment to be complete.
Cleaning u
I've committed a patch that currently fixes the t/dynclasses/*.t errors
with gcc 3.3.3 and possibly others.
While I wasn't able to fully track down the real problem, it seems that
dynamic library loading doesn't stand a DOD run, which is artificially
triggered by string_compare, when --gc-debug
-BEGIN PGP SIGNED MESSAGE-
Moin,
On Sunday 13 March 2005 00:43, Mark Stosberg wrote:
> On Sat, Mar 12, 2005 at 03:29:32PM -0800, Michael G Schwern wrote:
> > Well, if you're just going to look at the wall clock, why use the
> > shell?
>
> Err...because I forgot about the simple 'time' com
On Sat, Mar 12, 2005 at 03:29:32PM -0800, Michael G Schwern wrote:
>
> Well, if you're just going to look at the wall clock, why use the shell?
Err...because I forgot about the simple 'time' command?
> my $start_time = time;
> `$bin diff 1/1 2>&1`;
> my $end_time = time;
>
# New Ticket Created by [EMAIL PROTECTED]
# Please include the string: [perl #34416]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=34416 >
Hi!
I found two bugs while trying to compile 0.1.2
I solved the first one.
I ha
# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #34420]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=34420 >
I suggest that someone should use the tools/dev/parrot_api.pl
and clean up the bin
43 matches
Mail list logo