On Mon, Dec 20, 2004 at 09:52:32PM -0500, Matt Fowles wrote:
: Much churning went on and it seems that multiple different
: (but identically named) rule captures can now be performed by adding
: information after a dash ala " ".
Actually, much churning is still going on in both @Larry
Perl 6 Summary for 2004-12-06 through 2004-12-20
All~
The observant among you might notice that I missed last week's summary.
With the hubbub and confusion of the holidays, I blame ninjas, in
particular Ryu Hyabusa. Given that Christmas is next weekend and New
Years is the week
On Sun, Dec 19, 2004 at 08:25:58PM -0600, Rod Adams wrote:
: Another facet of this discussion comes into account when also specifying
: type.
:
: from S9:
: my bit @bits;
: my int @ints;
: my num @nums;
: my int4 @nybbles;
: my str @buffers;
: my ref[Array] @ragged2d;
: my complex128 @long
On Sun, Dec 19, 2004 at 06:44:33PM -0800, chromatic wrote:
> On Sun, 2004-12-19 at 20:25 -0600, Rod Adams wrote:
> > [snipped]
> >
> > $x = 4;
> > $y = 7;
> > $z = 12;
> > $r = 4543;
> > $q = 121;
> >
> > With a fixed width font, like all code editors use, all the =' like up,
> > and I can quick
James Mastros skribis 2004-12-19 23:00 (+0100):
> Juerd wrote:
> >Just typing "my " before the first use of a variable isn't hard, and it
> >makes things much clearer for both the programmer and the machine.
> Does this imply that it's now possible to type C, and
> declare @foo? In the current p
James Mastros writes:
> Luke Palmer wrote:
> >James Mastros writes:
> >>Does this imply that it's now possible to type C, and
> >>declare @foo? In the current perl, this doesn't work -- it's a syntax
> >>error. It'd certainly make many constructs easier.
> >
> >That looks weird to me. But as R
On 2004-12-19 at 21:35:46, Luke Palmer wrote:
>In Perl 5 you can do the hackish:
>
>(\my @foo)->[23] = 42;
Hm. My reaction to the above is, and I think I speak for the entire
assemblage when I say this, "Yuckbo."
:)
Now, (my @foo)[23] would be somewhat better, but of course, that's
Luke Palmer wrote:
James Mastros writes:
Does this imply that it's now possible to type C, and
declare @foo? In the current perl, this doesn't work -- it's a syntax
error. It'd certainly make many constructs easier.
That looks weird to me. But as Rod points out, it can be useful with
hashes.