-
-
11 Jun 2022 16:32:27 UTC
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (3)
- Testers (1643 / 4 / 0)
- Kwalitee
Bus factor: 1- 91.85% Coverage
- License: artistic_2
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (105.76KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- B
- Carp
- Devel::StackTrace
- Eval::Closure
- Exporter
- IO::File
- List::Util
- MRO::Compat
- Module::Runtime
- Role::Tiny
- Role::Tiny::With
- Scalar::Util
- Storable
- Sub::Quote
- Test::Fatal
- Test::More
- Try::Tiny
- overload
- parent
- re
- strict
- version
- warnings
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.48 - 2022-06-11
- Importing types into a class which inherited from another class that had imported types wouldn't work, leaving the child class with no `t()` sub. Patch by Kerin Millar.
Modules
Type constraints and coercions for PerlA class representing a coercion from one type to anotherA class for constraints which require a class name or object with a set of methodsA class for constraints which require a class name or an object that does a specific roleA class for constraints which require a class name or an object that inherit from a specific classA class for constraints which require a string matching one of a set of valuesA class for intersection constraintsA class for constraints which require an object with a set of methodsA class for constraints which require an object that does a specific roleA class for constraints which require an object that inherits from a specific classA class which represents parameterizable constraintsA class which represents parameterized constraintsProvides a common implementation for Specio::Constraint::AnyCan and Specio::Constraint::ObjectCanProvides a common implementation for Specio::Constraint::AnyDoes and Specio::Constraint::ObjectDoesThe interface all type constraints should provideProvides a common implementation for Specio::Constraint::AnyIsa and Specio::Constraint::ObjectIsaClass for simple (non-parameterized or specialized) typesA class which represents structurable constraintsA class which represents structured constraintsA class for union constraintsSpecio declaration subroutinesA class to represent where a type or coercion was declaredAn exception class for type constraint failuresBase class for type librariesHelper subs for the Specio distroImplements type constraint objects for Perl's built-in typesImplements type constraint objects for some common numeric typesImplements type constraint objects for some common Perl language thingsImplements type constraint objects for some common string typesStructured types for Specio (Dict, Map, Tuple)Guts of Dict structured typeGuts of Map structured typeGuts of Tuple structured typeA painfully poor reimplementation of Moo(se)A partially rear-ended copy of Devel::PartialDump without prereqsImplements the per-package type registryA role for things which can be inlined (type constraints and coercions)Make validation and coercion subs from Specio typesType checks used internally for Specio classes (it's not self-bootstrapping (yet?))Test helpers for SpecioModule Install Instructions
To install Specio, copy and paste the appropriate command in to your terminal.
cpanm Specio
perl -MCPAN -e shell install Specio
For more information on module installation, please visit the detailed CPAN module installation guide.