Re: S04 -- closure traits clarification

2005-05-02 Thread Larry Wall
On Fri, Apr 29, 2005 at 10:57:01AM -0500, David Christensen wrote: : 1) What type of introspection, if any, are we providing to the language : level? I.e., are we providing something along the lines of : : %traits = ?BLOCK.traits : : where %traits is keyed on trait name (FIRST, LAST,

Re: S04 -- closure traits clarification

2005-05-02 Thread Larry Wall
On Mon, May 02, 2005 at 03:20:03PM -0700, Larry Wall wrote: : Probably does something like: : : ?BLOCK does First; # no-op if it already does First : ?BLOCK.firstlist.push(block); Probably shouldn't use up a normal name like First for that. Maybe we can just reuse the trait name as the

S04 -- closure traits clarification

2005-04-29 Thread David Christensen
Greetings, In trying to hack closure trait support into pugs, I have some questions about closure traits, variable with will traits and introspection. (Apologies if some of this has been discussed on the list before -- I'm just going off of the synopses, which if definite clarification on

Re: S04 -- closure traits clarification

2005-04-29 Thread Luke Palmer
David Christensen writes: Greetings, In trying to hack closure trait support into pugs, I have some questions about closure traits, variable with will traits and introspection. (Apologies if some of this has been discussed on the list before -- I'm just going off of the synopses, which