[Perl5-syntax] Method::Signatures, now with types

Nick Perez nick at nickandperla.net
Mon Mar 21 20:42:33 GMT 2011


+1

I've not dug into the tests yet, but this is a major accomplishment.
I'll see about possibly adding in the ability to choose at import in
MXD the ability to use this over MXMS. Shouldn't take too much since
the underlying mechanism is the same. 

On Tue, 22 Mar 2011 01:03:11 +1100
Michael G Schwern <schwern at pobox.com> wrote:

> Barefootcoder just completed work on a type system for
> Method::Signatures backed by Any::Moose.  It's released as an alpha.
> https://github.com/schwern/method-signatures/tree/v20110322.0027_001
> 
> The syntax is as discussed here, but the "$param isa Class" and
> "$param does Role" disambiguating traits have not been added.
> 
> Initial benchmarking shows a 10x speed improvement over
> MooseX::Method::Signatures running the MXMS synopsis code.
> https://gist.github.com/879481
> 
> 


-- 

Nicholas Perez
XMPP/Email: nick at nickandperla.net
http://search.cpan.org/~nperez/
http://github.com/nperez



More information about the Perl5-syntax mailing list