Tiny, yet Moo(se)-compatible type constraint
https://metacpan.org/pod/Type::Tiny
This documents the internals of the Type::Tiny class. Type::Tiny::Manual is a better starting place if you're new.
Type::Tiny is a small class for creating Moose-like type constraint objects which are compatible with Moo, Moose and Mouse.
- Sources inherited from project devel:languages:perl
- Devel package for openSUSE:Factory
-
2
derived packages
- Links to openSUSE:Factory / perl-Type-Tiny
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-Type-Tiny && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Type-Tiny-2.004000.tar.gz | 0000470299 459 KB | |
cpanspec.yml | 0000000668 668 Bytes | |
perl-Type-Tiny.changes | 0000054638 53.4 KB | |
perl-Type-Tiny.spec | 0000002199 2.15 KB |
Revision 68 (latest revision is 69)
Dirk Stoecker (dstoecker)
accepted
request 1080786
from
Tina Müller (tinita)
(revision 68)
- updated to 2.004000 see /usr/share/doc/packages/perl-Type-Tiny/Changes 2.004000 2023-04-05 [ Documentation ] - Document that the `BoolLike` type is unstable. - Minor pod changes to Types::Standard. [ Packaging ] - Summarized the change log for versions prior to Type::Tiny 2.000000. If you need more information, see the Changes file included with Type::Tiny 2.002001. <https://metacpan.org/release/TOBYINK/Type-Tiny-2.002001/source/Changes> 2.003_000 2023-04-02 [ Documentation ] - Add SYNOPSIS for Type::Tiny::Class. - Add SYNOPSIS for Type::Tiny::Duck. - Add SYNOPSIS for Type::Tiny::Enum. - Add SYNOPSIS for Type::Tiny::Intersection. - Add SYNOPSIS for Type::Tiny::Role. - Add SYNOPSIS for Type::Tiny::Union. - Add documentation and tests for the combination of the `goto_next` and `multiple` options when used with `signature_for`. - Add example of `signature_for` applying a signature to multiple functions at once. - Document changes to `make_immutable` in Type::Library v2.x. <https://github.com/tobyink/p5-type-tiny/issues/129> [ Other ] - Added: Type::Tiny now has an `exception_class` attribute, allowing a type to throw exceptions using a custom class. These classes should usually be a subclass of Error::TypeTiny::Assertion. <https://github.com/tobyink/p5-type-tiny/issues/133> - Added: Type::Tiny::Bitfield class. <https://github.com/tobyink/p5-type-tiny/issues/131> - Added: Types::TypeTiny::BoolLike type constraint. <https://github.com/tobyink/p5-type-tiny/issues/137>
Comments 0