Dave Storrs <[EMAIL PROTECTED]> writes:
> On Mon, Dec 16, 2002 at 08:26:25PM +, Piers Cawley wrote:
>> Dave Storrs <[EMAIL PROTECTED]> writes:
>> > On Mon, Dec 16, 2002 at 06:47:39PM +, Piers Cawley wrote:
>> >> Michael Lazzaro <[EMAIL PROTECTED]> writes:
>
>> I haven't been arguing agains
On Mon, Dec 16, 2002 at 03:44:21PM -0500, Dan Sugalski wrote:
> At 11:12 AM -0800 12/16/02, Dave Storrs wrote:
> >You find R2L easier to read, I find L2R
> >easier. TIMTOWDI. Perl6 should be smart enough to support both.
>
> Why?
>
> Yes, technically we can do both R2L and L2R. We can also sup
On Mon, Dec 16, 2002 at 08:26:25PM +, Piers Cawley wrote:
> Dave Storrs <[EMAIL PROTECTED]> writes:
> > On Mon, Dec 16, 2002 at 06:47:39PM +, Piers Cawley wrote:
> >> Michael Lazzaro <[EMAIL PROTECTED]> writes:
> I haven't been arguing against his syntax for adding L to R
> pipelines, but
--- Dave Whipp <[EMAIL PROTECTED]> wrote:
> I can imagine writing:
>
> $a eq:i $b # compare, case insensitive
> $a eq:w $b # compare, ignore whitespace differences
> $a eq:ID $b # compare identities
>
> I think that the modifier concept is too useful to be limited to the
> rx// operator.
"Piers Cawley" <[EMAIL PROTECTED]> wrote :
> > $a eq : ID $b # yes, I would want to generalize that
>
> I started off thinking 'well, you could just define an 'is' operator'
> and then realised we already have one. Hmm. Personally i don't have a
> problem with not having an operator for this par
"Dave Whipp" <[EMAIL PROTECTED]> writes:
> "Piers Cawley" <[EMAIL PROTECTED]> wrote :
>> I found myself mulling over:
>>
>> $obj.is($other_obj);
>>
>> Which seems to work reasonably well, and I'd be rather surprised if
>> it clashed with anything with different semantics...
>
> My only problem
"Piers Cawley" <[EMAIL PROTECTED]> wrote :
> I found myself mulling over:
>
> $obj.is($other_obj);
>
> Which seems to work reasonably well, and I'd be rather surprised if
> it clashed with anything with different semantics...
My only problem with it is the lack of symmetry. Is there any reason
At 11:12 AM -0800 12/16/02, Dave Storrs wrote:
On Mon, Dec 16, 2002 at 06:47:39PM +, Piers Cawley wrote:
Michael Lazzaro <[EMAIL PROTECTED]> writes:
> Mind you (purely devil's advocate), I'm not entirely sure the R-to-L
> syntax truly _needs_ to be in Perl6. It's true I use it all the ti
Dave Storrs <[EMAIL PROTECTED]> writes:
> On Mon, Dec 16, 2002 at 06:47:39PM +, Piers Cawley wrote:
>> Michael Lazzaro <[EMAIL PROTECTED]> writes:
>>
>> > Mind you (purely devil's advocate), I'm not entirely sure the R-to-L
>> > syntax truly _needs_ to be in Perl6. It's true I use it all the
On Mon, Dec 16, 2002 at 06:47:39PM +, Piers Cawley wrote:
> Michael Lazzaro <[EMAIL PROTECTED]> writes:
>
> > Mind you (purely devil's advocate), I'm not entirely sure the R-to-L
> > syntax truly _needs_ to be in Perl6. It's true I use it all the time,
> > but I can retrain to use L-to-R meth
Aaron Crane <[EMAIL PROTECTED]> writes:
> Piers Cawley writes:
>> I found myself mulling over:
>>
>> $obj.is($other_obj);
>>
>> Which seems to work reasonably well, and I'd be rather surprised if it
>> clashed with anything with different semantics...
>
> I quite like it. It also has the ad
Michael Lazzaro <[EMAIL PROTECTED]> writes:
> On Friday, December 13, 2002, at 10:59 PM, Piers Cawley wrote:
>>map { .[0] }
>>sort { $^a[1] cmp $^b[1] }
>>map { $_ => some_transform($_) }
>>grep /.../, @array
>>
>> happily stays as it is; I fail to see what recasting that as
>>
On Friday, December 13, 2002, at 10:59 PM, Piers Cawley wrote:
map { .[0] }
sort { $^a[1] cmp $^b[1] }
map { $_ => some_transform($_) }
grep /.../, @array
happily stays as it is; I fail to see what recasting that as
map { .[0] } <-
sort { $^a[1] cmp $^b[1] } <-
map { $_
Piers Cawley writes:
> I found myself mulling over:
>
> $obj.is($other_obj);
>
> Which seems to work reasonably well, and I'd be rather surprised if it
> clashed with anything with different semantics...
I quite like it. It also has the advantage of disallowing the equivalent
of:
my $sto
Dave Storrs <[EMAIL PROTECTED]> writes:
> On Fri, Dec 13, 2002 at 09:32:02AM -0800, Michael Lazzaro wrote:
>>
>> $obj.ID;
>> $obj.IDENTITY;
>
> FWIW, I favor the latter.
I found myself mulling over:
$obj.is($other_obj);
Which seems to work reasonably well, and I'd be rather sur
On Fri, Dec 13, 2002 at 09:32:02AM -0800, Michael Lazzaro wrote:
>
> $obj.ID;
> $obj.IDENTITY;
FWIW, I favor the latter.
--Dks
16 matches
Mail list logo