On Tue, Jul 08, 2008 at 12:47:57PM +0200, Jonathan Worthington wrote: > Hi, > > Is there an introspection interface for signatures defined anywhere? > I've looked through the synopses and don't see one. I'm thinking things > like: > > * Can you do .arity and .count of a signature? > * Can you iterate over a signature to get each element in there? > * If so, what sort thing thingy to you get to describe each element? > Some kind of parameter descriptor?
http://dev.perl.org/perl6/doc/design/syn/S06.html#The_want_function describes C<.arity> and C<.count> . I don't know about the others yet. Pm