Re: Implementing ISA

2003-08-25 Thread Chris Dutton
- Original Message - From: "chromatic" <[EMAIL PROTECTED]>> I would expect 'does' instead of 'isa'. Perhaps I missed Dan's > explanation of the difference between 'can', 'isa', and 'does'. Maybe > I'm thinking of 'has', though. Though I'm not familiar with the answer that's "official" fo

Re: Implementing ISA

2003-08-25 Thread chromatic
On Monday, August 25, 2003, at 11:40 AM, Leopold Toetsch wrote: new P5, .PerlArray invoke ... isa I0, P5, "array" if I0, yep_has_array_interface I would expect 'does' instead of 'isa'. Perhaps I missed Dan's explanation of the difference between 'can', 'isa', and 'does'. Maybe I'm thin

Implementing ISA

2003-08-25 Thread Leopold Toetsch
When looking at vtables (and *.ops) I'm missing C. isa(out INT, in PMC, im STR) # set $1 to 1 if class $2 isa $3. isa(out PMC, in PMC) # set $1 to a const array containing $2's classes (parent first) new P0, .PerlArray isa P1, P0 # ("PerlArray", "Array", "array") The last entry ("ar