[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: Discussing the (im?)possibility of protype-based polymorphism for 5.12
It is worth noting that I plan to support polymorphism in
Method::Signatures (soon to become just signatures.pm once regular
functions are added). I haven't worked out the details, but dear lord
it has to be better than trying to wedge Perl prototypes into the
role.
I mention this because, if I have my way, Method::Signatures is a
prototype for how function signatures should work in 5.12. Once the
syntax and behaviors are nailed down and kicked around in a CPAN
module it's a SMOP to add it to perl itself... as simple as that ever
is.
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]