Should aggregate PMCs (like PerlHash) be able to take
PMCs as keys? I mean so that:

  $P0 = $P1[$P2]

where $P1 is a PerlHash, would work. The way it works
now is that it complains that you can't use a PMC as a
key. So my compiler has to spit out about 20 lines of
code for every sub-element access that tries to guess,
depending on the type of the key and the type of the
aggregate, whether to take the string value or the
integer value of the key before using it. Which is
totally ugly.


        
                
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 

Reply via email to