Re: Keys and Indices PDD

2002-03-08 Thread Simon Cozens
I've added this PDD to CVS after taking note of Dan's comments. -- And it should be the law: If you use the word `paradigm' without knowing what the dictionary says it means, you go to jail. No exceptions. -- David Jones

Re: Keys and Indices PDD

2002-02-20 Thread Dan Sugalski
At 7:19 PM + 2/19/02, Nicholas Clark wrote: >On Mon, Feb 18, 2002 at 01:12:24PM -0500, Dan Sugalski wrote: > > Non-aggregates can (and must) implement the _keyed vtable method, > > though it may well do nothing but throw an exception. > > > > References, for example, will implement them, j

Re: Keys and Indices PDD

2002-02-19 Thread Nicholas Clark
On Sun, Feb 17, 2002 at 05:51:32PM +, Simon Cozens wrote: > =head2 Aggregate and non-aggregate PMCs > > We've already said that what separates the aggregate PMCs from the > non-aggregates is their implementation of the C<_keyed> vtable methods. > So it is Hereby Decreed that the default vtab

Re: Keys and Indices PDD

2002-02-19 Thread Dave Mitchell
Simon Cozens <[EMAIL PROTECTED]> wrote: > Need discussion on whether C is a good exception for > this, or whether something else should be used. It's really a compiler > screw-up, since code which indexes a non-aggregate shouldn't be > generated. Except of course references, where the compiler ca

Re: Keys and Indices PDD

2002-02-18 Thread Simon Cozens
Brian Lee Ray: > I'm not a perl programmer , I'm a C programmer, Ooh good, we could do with a few more of those around... ;) > >Need discussion on whether C is a good exception for > >this, or whether something else should be used. It's really a compiler > >screw-up, since code which indexes a n

Re: Keys and Indices PDD

2002-02-18 Thread Uri Guttman
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: >> This is a singularly bad name, and needs to change. Probably >> C is better. It's a shame C is so confusing, >> since it's accurate. DS> AGGREGATE_INDEX is good, but awfully big. what about plain INDEX? or AGG_INDEX if you must.

Re: Keys and Indices PDD

2002-02-18 Thread Dan Sugalski
Thanks for this one. Few things: At 5:51 PM + 2/17/02, Simon Cozens wrote: >=head1 DESCRIPTION > >First, let's define some terminology. An B is one which >supports and implements the C<_keyed> variants of vtable methods. These >variants are B operations, as they act on a specific indexed >ele