Anonymous multi-subs
[email protected] (yary)
| Newsgroups | perl.perl6.language |
|---|---|
| Message-ID | <CAG2CFAZ-3osP+=2ssN-fq3GW5FAm60cXPCoqwXXeug9uRZkOBw@mail.gmail.com> |
Now that I've thought about it for 90 seconds (not fully-formed idea), if one were to have an anonymous multi-sub, it ought to be constructed from a list of *signature*, *body *pairs. And/or, any non-finalized sub could have a method to add another *signature, body* to its dispatch list. apologies if this discussion is already captured in a design doc, I am posting this without having read much of the past. and now, back to our regularly scheduled programming. -y