Front page | perl.perl6.language |
Postings from July 2002
Re: what's new continued
Thread Previous
|
Thread Next
From:
Ashley Winters
Date:
July 7, 2002 14:48
Subject:
Re: what's new continued
Message ID:
200207071447.49086.qaqortog@nwlink.com
On Sunday 07 July 2002 02:19 pm, Damian Conway wrote:
> Ashley Winters asked:
> > > It *might* possibly work to hyper the constructor:
> > >
> > > my ($a, $b) = ^new Foo
> >
> > Would prefix ^ always return 'wanted' number of repetitions? Like a
> > smart C<x Inf>?
>
> This does bother me about the above proposed syntax/semantics.
> Hyperoperations take their "magnitude" from that of their operand(s).
> I would have expected the above example needed to be:
>
> my ($a, $b) = ^new (Foo,Foo);
How about:
$_ = new Doberman for my Dog ($spot, $rover) is rw;
Err, whatever.
Ashley Winters
Thread Previous
|
Thread Next