Interrogating signatures

2008-07-08 Thread Jonathan Worthington
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

Re: Interrogating signatures

2008-07-08 Thread Patrick R. Michaud
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

Re: Interrogating signatures

2008-07-08 Thread Larry Wall
On Tue, Jul 08, 2008 at 12:47:57PM +0200, Jonathan Worthington wrote: * Can you do .arity and .count of a signature? There could surely be methods to provide such values. * Can you iterate over a signature to get each element in there? * If so, what sort thing thingy to you get to describe