Dan Sugalski <[EMAIL PROTECTED]> wrote:

>     Px = Py[Pz]

> won't be, and we'll need to note whether Pz should be taken as an
> int, string, or PMC. (PMC for the fancier keying of hashes)

> ... A simple :i, :s, :p  [...] suffix

Do we really need that? The aggregate is responsible to do the right
thing. When C<Py> is a PerlHash PMC, it calls C<get_string_keyed()>. An
array PMC does C<get_integer_keyed>. The key type doesn't really matter.
The key must just provide these vtable functions.

What I'm missing?

leo

Reply via email to