Re: Variable argument type to music function

2008-12-11 Thread Carl D. Sorensen
On 12/11/08 8:24 PM, "Patrick McCarty" wrote: > Hi Carl, > > On Thu, Dec 11, 2008 at 08:04:32PM -0700, Carl D. Sorensen wrote: >> I'm trying to allow predefine fret diagrams to use the verbose style as well >> as the terse style. >> >> I'd like to pass a diagram-definition to a music functio

Re: Variable argument type to music function

2008-12-11 Thread Patrick McCarty
Hi Carl, On Thu, Dec 11, 2008 at 08:04:32PM -0700, Carl D. Sorensen wrote: > I'm trying to allow predefine fret diagrams to use the verbose style as well > as the terse style. > > I'd like to pass a diagram-definition to a music function that can be either > a list or a string. If it's a list, I

Variable argument type to music function

2008-12-11 Thread Carl D. Sorensen
I'm trying to allow predefine fret diagrams to use the verbose style as well as the terse style. I'd like to pass a diagram-definition to a music function that can be either a list or a string. If it's a list, I'll treat the definition as a verbose definition. If it's a string, I'll treat it as