I happen to have an API spec handy. Fancy that ;)
Frankly, without the rest, we don't have traits as described by the traits paper. Thus, traits are reduced to little more than glorified exporting packages (which, to be honest, I was using until Class::Trait fixed some of the more serious issues).
As for writing a real API spec, I'd love to, but that would take a bit of time and I do have real work to do :( (and I might get this problem solved with Class::Trait in the time it would take me to write up the spec).
I hope this doesn't sound like I'm dismissing your offer. I really appreciate it, but rewriting the traits papers or some Perl 6 notes would take quite a bit of time to do correctly. On the other hand, if you came up with a working model, I'd happily look at it.
|