Aaron Sherman <[EMAIL PROTECTED]> writes:
> On Thu, 2004-09-09 at 13:14, Larry Wall wrote:
>
>> So whereas Ruby's syntax actually tends to push you toward .each
>> iterators, Perl 6's syntax will be fairly neutral on the subject,
>> or maybe biased every so slightly away from method iteration by t
On Thu, 2004-09-09 at 13:14, Larry Wall wrote:
> So whereas Ruby's syntax actually tends to push you toward .each
> iterators, Perl 6's syntax will be fairly neutral on the subject,
> or maybe biased every so slightly away from method iteration by the
> width of about one character:
>
> for @
Michele Dondi writes:
> On Thu, 2 Sep 2004, Larry Wall wrote:
>
> > To declare a multidimensional array, you add a shape parameter:
> >
> > my num @nums is shape(3); # one dimension, @nums[0..2]
> > my int @ints is shape(4;2); # two dimensions, @ints[0..3; 0..1]
>
> Just a random thou
On Thu, Sep 09, 2004 at 09:27:36AM -0700, David Wheeler wrote:
: On Sep 9, 2004, at 9:14 AM, Larry Wall wrote:
:
: >I just borrowed the -> from Perl 5 because I knew it was available,
: >and I thought it read better for C loops than the Ruby approach.
:
: Interestingly, I was at PDX.pm last night
On Sep 9, 2004, at 9:14 AM, Larry Wall wrote:
I just borrowed the -> from Perl 5 because I knew it was available,
and I thought it read better for C loops than the Ruby approach.
Interestingly, I was at PDX.pm last night for a presentation entitled,
"Ruby for Perl Programmers." One of the things t
John Macdonald writes:
> As an array index -1 and 0 give you the 2 ends. The perl5
> code to alternately extract elements from the two eds of an
> array can be something like:
>
> my $end = 0; # -1 to start with right end
>
> while( @array ) {
> my $next = splice( @array, $end
On Thu, Sep 09, 2004 at 03:20:22PM +0200, Michele Dondi wrote:
: I hope not to raise too much the noise/signal level on list, but I have a
: question: I have had a long experience programming my HP28s pocket
: calculator, and its RPN language that AFAIK is mostly the same as that of
: newer models,
On Thu, Sep 09, 2004 at 03:09:47PM +0200, Michele Dondi wrote:
> On Thu, 2 Sep 2004, Larry Wall wrote:
>
> > And yes, an C can store only -1 or 0. I'm sure someone'll think of
> > a use for it...
>
> Probably OT, but I've needed something like that badly today: "working" on
> a japh that turned
I hope not to raise too much the noise/signal level on list, but I have a
question: I have had a long experience programming my HP28s pocket
calculator, and its RPN language that AFAIK is mostly the same as that of
newer models, supported constructs of the form
-> a b << ... >>
where C<< -> >>
Michele Dondi wrote:
On Thu, 2 Sep 2004, Larry Wall wrote:
To declare a multidimensional array, you add a shape parameter:
my num @nums is shape(3); # one dimension, @nums[0..2]
my int @ints is shape(4;2); # two dimensions, @ints[0..3; 0..1]
Just a random thought, and probably a minor poi
On Thu, 2 Sep 2004, Larry Wall wrote:
> And yes, an C can store only -1 or 0. I'm sure someone'll think of
> a use for it...
Probably OT, but I've needed something like that badly today: "working" on
a japh that turned out to require mostly golfing skills (and not that I
have many, I must admit)
On Thu, 2 Sep 2004, Larry Wall wrote:
> To declare a multidimensional array, you add a shape parameter:
>
> my num @nums is shape(3); # one dimension, @nums[0..2]
> my int @ints is shape(4;2); # two dimensions, @ints[0..3; 0..1]
Just a random thought, and probably a minor point: I know
Nicholas Clark wrote:
On Tue, Sep 07, 2004 at 06:07:24PM +0200, James Mastros wrote:
4. The single-file, platform dependent, machine language executable
(realexe).
Which parrot can already do. (Or at least could, but I don't think that
anyone's been checking on it recently)
Er, right -- I'd meant
13 matches
Mail list logo