S12: can(), signatures and casting

2007-04-29 Thread Ovid
My apologies if these have been answered. I've been chatting with Jonathan Worthington about some of this and any misconceptions are mine, not his. In reading through S12, I see that .can() returns an iterator for the methods matched. What I'm curious about is this: if $obj.can('fribble') {

Re: S12: can(), signatures and casting

2007-04-29 Thread Jonathan Lang
Ovid wrote: My apologies if these have been answered. I've been chatting with Jonathan Worthington about some of this and any misconceptions are mine, not his. In reading through S12, I see that .can() returns an iterator for the methods matched. What I'm curious about is this: if

Re: S12: can(), signatures and casting

2007-04-29 Thread Brandon S. Allbery KF8NH
On Apr 29, 2007, at 6:42 , Jonathan Lang wrote: In effect, the signature gets attached as a property of the string, and 'can()' checks for the signature property. The only problem that I have with this idea is that I can't think of any uses for a signatory string outside of '.can()'. Maybe