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

Michael G Schwern schwern at pobox.com
Mon Mar 21 14:03:11 GMT 2011


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


-- 
Life is like a sewer - what you get out of it depends on what you put into it.
    - Tom Lehrer




More information about the Perl5-syntax mailing list