The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Type::API - a common interface for type constraints, based on observed patterns (documentation only)

DESCRIPTION

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.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

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.

DISCLAIMER OF WARRANTIES

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.