Type::API - a common interface for type constraints, based on observed patterns (documentation only)
This distribution documents common patterns used by type constraint libraries: in particular the methods that type constraints typically provide, their parameters, return values, and expected behaviour.
Type constraint libraries typically provide more methods than these, but by restricting your code to making use of those documented in Type::API, you may be able to improve your code's interoperability.
Type::API::Constraint
Type::API::Constraint::Coercible
Type::API::Constraint::Constructor
Type::API::Constraint::Inlinable
Toby Inkster <tobyink@cpan.org>.
This software is copyright (c) 2013 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install Type::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Type::API
CPAN shell
perl -MCPAN -e shell install Type::API
For more information on module installation, please visit the detailed CPAN module installation guide.