where will we die to?

2006-03-23 Thread Yuval Kogman
on the #catalyst channel today we had lots of pains debugging where a die will go to eventually, within a cascade of eval { }s and what not. In Perl 6 one thing that could ease this is to be able to easily know where we will die to, without having to walk the stack and checking which scope

Re: where will we die to?

2006-03-23 Thread Larry Wall
On Thu, Mar 23, 2006 at 02:27:07PM +0200, Yuval Kogman wrote: : on the #catalyst channel today we had lots of pains debugging where : a die will go to eventually, within a cascade of eval { }s and what : not. : : In Perl 6 one thing that could ease this is to be able to easily : know where we

Re: why no negative (auto reversed) ranges?

2006-03-23 Thread Larry Wall
On Mon, Mar 20, 2006 at 01:26:03PM +0100, TSa wrote: : HaloO, : : S03 does explicitly disallow auto-reversed ranges. : And I'm not sure if the upto operator has a downto : cousin where ^-4 == (-1, -2, -3, -4) returns a list : that is suitable for indexing an array from the back. : Why is that so?

Re: where will we die to?

2006-03-23 Thread Yuval Kogman
On Thu, Mar 23, 2006 at 08:14:03 -0800, Larry Wall wrote: On Thu, Mar 23, 2006 at 02:27:07PM +0200, Yuval Kogman wrote: How else would you implement it that doesn't impact performance? One of the main reasons for having exceptions is that they're exceptional, and should be pessimized with