On Fri, Feb 13, 2009 at 11:49 AM, Larry Wall <la...@wall.org> wrote: > On Fri, Feb 13, 2009 at 10:24:14AM -0800, Jon Lang wrote: > : Given that signatures have grown well beyond their origins as > : subroutine parameter lists, and given that signatures have their own > : syntax, perhaps they should be moved out of S06? I could see S08 > : being retasked to address signatures (and perhaps captures, given the > : intimate connection between these two), since its original purpose > : (i.e., references) has been deprecated. > > That has been the intent, though nobody's got around to doing it.
Some questions: Can anyone think of a use for an invocant or a slurpy code block in a signature that's being used to initialize variables or to parameterize a role? Can anyone think of a use for named parameters in a signature that's being used to initialize variables? In general, what features of subroutine signatures might not be applicable to role signatures and/or variable declaration signatures? -- Jonathan "Dataweaver" Lang