Create your own Parameterizable Types
http://search.cpan.org/dist/MooseX-Types-Parameterizable
A MooseX::Types library for creating parameterizable types. A
parameterizable type constraint for all intents and uses is a subclass of
a parent type, but adds additional type parameters which are available to
constraint callbacks (such as inside the 'where' clause of a type
constraint definition) or in the coercions you define for a given type
constraint.
- Sources inherited from project devel:languages:perl
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-MooseX-Types-Parameterizable && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MooseX-Types-Parameterizable-0.07.tar.gz | 0000045565 44.5 KB | |
perl-MooseX-Types-Parameterizable.changes | 0000000593 593 Bytes | |
perl-MooseX-Types-Parameterizable.spec | 0000004525 4.42 KB |
Revision 3 (latest revision is 12)
Stephan Kulow (coolo)
committed
(revision 3)
- updated to 0.07 - Changed the way we set a message so that we can access both value and parameterized type in the message. This lets us make more useful error messages (brianphillips) - Test case for above - Fixed problem when you create a type with no message (brianphillips) - test case for above
Comments 0