Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Relative running order between traits blocks

6 views
Skip to first unread message

Agent Zhang

unread,
Aug 13, 2006, 8:47:21 AM8/13/06
to p6l
Hello, everyone~

S04 doesn't explain the running order between the traits blocks FIRST,
ENTER, NEXT, LEAVE, and LAST. So I couldn't be sure whether or not my
tests in the Pugs test suit are correct. Please check out the
following test file, which also servers as the first sketch of my
proposal:

http://svn.openfoundry.org/pugs/t/closure_traits/in_loop.t

Luke pointed out on #perl6 that LAST should be fired off after LEAVE
if FIRST runs before ENTER. I think it's good to symmetry.

Comments are very welcome. Hopefully we can end up with some sane
conclusion, which can finally go into S04. :=)

Regards,
Agent

0 new messages