develooper Front page | perl.perl5.porters | Postings from October 2008

Re: Discussing the (im?)possibility of protype-based polymorphism for 5.12

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
October 19, 2008 18:38
Subject:
Re: Discussing the (im?)possibility of protype-based polymorphism for 5.12
Message ID:
313c1d130810191838i5ecc7292g64a4f809e6e81fc@mail.gmail.com
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.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About