Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Specio | Distribution: CloudLinux |
Version: 0.42 | Vendor: CloudLinux |
Release: 2.el8 | Build date: Tue Nov 19 08:31:31 2019 |
Group: Unspecified | Build host: build.cloudlinux.com |
Size: 343653 | Source RPM: perl-Specio-0.42-2.el8.src.rpm |
Packager: CloudLinux Packaging Team <packager@cloudlinux.com> | |
Url: http://search.cpan.org/dist/Specio/ | |
Summary: Type constraints and coercions for Perl |
The Specio distribution provides classes for representing type constraints and coercion, along with syntax sugar for declaring them. Note that this is not a proper type system for Perl. Nothing in this distribution will magically make the Perl interpreter start checking a value's type on assignment to a variable. In fact, there's no built-in way to apply a type to a variable at all. Instead, you can explicitly check a value against a type, and optionally coerce values to that type.
Artistic 2.0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.42-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Nov 06 2017 Paul Howarth <paul@city-fan.org> - 0.42-1 - Update to 0.42 - Fixed checks for whether a class is loaded in light of upcoming optimization in Perl 5.28 (GH#12) - The Perl library claimed it provided types named LaxVersionStr and StrictVersionStr but they were really named LaxVersion and StrictVersion; the names have now been fixed to match the documentation, so they are LaxVersionStr and StrictVersionStr * Fri Aug 04 2017 Paul Howarth <paul@city-fan.org> - 0.40-1 - Update to 0.40 - Fixed more bugs with {any,object}_{can,does,isa}_type - When passed a glob (not a globref) they would die in their type check - On Perl 5.16 or earlier, passing a number to an any_* type would also die - Fixed subification overloading: if Sub::Quote was loaded, this would be used, but any environment variables needed for the closure would not be included, which broke enums, among other things * Thu Aug 03 2017 Paul Howarth <paul@city-fan.org> - 0.39-1 - Update to 0.39 - Many bug fixes and improvements to the types created by {any,object}_{can,does,isa}_type; in some cases, an invalid value could cause an exception in type check itself, and in other cases, a value that failed a type check would cause an exception when generating a message describing the failure - The messages describing a failure for all of these types have been improved - You can now create anonymous *_does and *_isa types using the exports from Specio::Declare * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Jul 01 2017 Paul Howarth <paul@city-fan.org> - 0.38-1 - Update to 0.38 - Simplify checks for overloading to not call overload::Overloaded(); just checking the return value of overload::Method() is sufficient * Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-3 - Perl 5.26 re-rebuild of bootstrapped packages * Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-2 - Perl 5.26 rebuild * Tue May 09 2017 Paul Howarth <paul@city-fan.org> - 0.37-1 - Update to 0.37 - Possible fix for very weird failures seen under threaded Perls with some modules that use Specio * Mon Feb 20 2017 Paul Howarth <paul@city-fan.org> - 0.36-1 - Update to 0.36 - Inlined coercions would attempt to coerce for every type that matched the value given, instead of stopping after the first type (GH#11) - Inlined coercions did not include the inline environment variables needed by the type from which the coercion was being performed (GH#8) - When you use the same type repeatedly as coderef (for example, as a constraint with Moo), it will only generate its subified form once, rather than regenerating it each time it is de-referenced - Added an API to Specio::Subs to allow you to combine type libraries and helper subs in one package for exporting; see the Specio::Exporter docs for more detail * Mon Feb 13 2017 Paul Howarth <paul@city-fan.org> - 0.35-1 - Update to 0.35 - Added Specio::Subs, a module that allows you to turn one or more library's types into subroutines like is_Int() and to_Int() - Added an inline_coercion method to Specio constraints * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jan 30 2017 Paul Howarth <paul@city-fan.org> - 0.34-1 - Update to 0.34 - Packages with Specio::Exporter can now specify additional arbitrary subs to exporter; see the Specio::Exporter docs for details - Importing the same library twice in a given package would throw an exception; the second attempt to import is now ignored * Wed Jan 25 2017 Paul Howarth <paul@city-fan.org> - 0.33-1 - Update to 0.33 - Fixed a mistake in the SYNOPSIS for Specio::Declare; the example for the *_isa_type helpers was not correct - Removed the alpha warning from the docs; this is being used by enough of my modules on CPAN that I don't plan on doing any big breaking changes without a deprecation first * Fri Jan 13 2017 Paul Howarth <paul@city-fan.org> - 0.32-1 - Update to 0.32 - Fixed a bug in the inlining for types create by any_can_type() and object_can_type(); this inlining mostly worked by accident because of some List::Util XS magic, but this broke under the debugger (GH#6, https://github.com/houseabsolute/DateTime.pm/issues/49) * Mon Nov 07 2016 Paul Howarth <paul@city-fan.org> - 0.31-1 - Update to 0.31 - The stack trace contained by Specio::Exception objects no longer includes stack frames for the Specio::Exception package - Made the inline_environment() and description() methods public on type and coercion objects * Thu Oct 20 2016 Petr Pisar <ppisar@redhat.com> - 0.30-2 - Break build cycle: perl-Moose → perl-DateTime → perl-Specio * Sun Oct 16 2016 Paul Howarth <paul@city-fan.org> - 0.30-1 - Update to 0.30 - Fix a bug with the Sub::Quoted sub returned by $type->coercion_sub; if a type had more than one coercion, the generated sub could end up coercing the value to undef some of the time and, depending on hash key ordering, this could end up being a heisenbug that only occurred some of the time * Mon Oct 10 2016 Paul Howarth <paul@city-fan.org> - 0.29-1 - Update to 0.29 - Document Specio::PartialDump because you may want to use it as part of the failure message generation code for a type * Mon Oct 03 2016 Paul Howarth <paul@city-fan.org> - 0.28-1 - Update to 0.28 - Added a Test::Specio module to provide helpers for testing Specio libraries - Fixed another bug with a subtype of special types and inlining - Introduce sub-package perl-Test-Specio to avoid dependencies on Test::Fatal and Test::More in main package * Sun Oct 02 2016 Paul Howarth <paul@city-fan.org> - 0.27-1 - Update to 0.27 - Cloning a type with coercions defined on it would cause an exception - Creating a subtype of a special type created by *_isa_type, *_can_type, or *_does_type, or enum would die when trying to inline type constraint - Removed the never-documented Any type - Added documentation for each type in Specio::Library::Builtins * Mon Sep 26 2016 Paul Howarth <paul@city-fan.org> - 0.26-1 - Update to 0.26 - Require Role::Tiny 1.003003, which should fix some test failures * Mon Sep 05 2016 Paul Howarth <paul@city-fan.org> - 0.25-1 - Update to 0.25 - Calling {any,object}_{isa,does}_type repeatedly in a package with the same class or role name would die; these subs are now special-cased to simply return an existing type for the given name when they receive a single argument (the name of the class or role) * Fri Jul 01 2016 Paul Howarth <paul@city-fan.org> - 0.24-2 - Sanitize for Fedora submission * Fri Jul 01 2016 Paul Howarth <paul@city-fan.org> - 0.24-1 - Initial RPM version
/usr/share/doc/perl-Specio /usr/share/doc/perl-Specio/CONTRIBUTING.md /usr/share/doc/perl-Specio/Changes /usr/share/doc/perl-Specio/README.md /usr/share/doc/perl-Specio/TODO.md /usr/share/licenses/perl-Specio /usr/share/licenses/perl-Specio/LICENSE /usr/share/man/man3/Specio.3pm.gz /usr/share/man/man3/Specio::Coercion.3pm.gz /usr/share/man/man3/Specio::Constraint::AnyCan.3pm.gz /usr/share/man/man3/Specio::Constraint::AnyDoes.3pm.gz /usr/share/man/man3/Specio::Constraint::AnyIsa.3pm.gz /usr/share/man/man3/Specio::Constraint::Enum.3pm.gz /usr/share/man/man3/Specio::Constraint::Intersection.3pm.gz /usr/share/man/man3/Specio::Constraint::ObjectCan.3pm.gz /usr/share/man/man3/Specio::Constraint::ObjectDoes.3pm.gz /usr/share/man/man3/Specio::Constraint::ObjectIsa.3pm.gz /usr/share/man/man3/Specio::Constraint::Parameterizable.3pm.gz /usr/share/man/man3/Specio::Constraint::Parameterized.3pm.gz /usr/share/man/man3/Specio::Constraint::Role::CanType.3pm.gz /usr/share/man/man3/Specio::Constraint::Role::DoesType.3pm.gz /usr/share/man/man3/Specio::Constraint::Role::Interface.3pm.gz /usr/share/man/man3/Specio::Constraint::Role::IsaType.3pm.gz /usr/share/man/man3/Specio::Constraint::Simple.3pm.gz /usr/share/man/man3/Specio::Constraint::Structurable.3pm.gz /usr/share/man/man3/Specio::Constraint::Structured.3pm.gz /usr/share/man/man3/Specio::Constraint::Union.3pm.gz /usr/share/man/man3/Specio::Declare.3pm.gz /usr/share/man/man3/Specio::DeclaredAt.3pm.gz /usr/share/man/man3/Specio::Exception.3pm.gz /usr/share/man/man3/Specio::Exporter.3pm.gz /usr/share/man/man3/Specio::Helpers.3pm.gz /usr/share/man/man3/Specio::Library::Builtins.3pm.gz /usr/share/man/man3/Specio::Library::Numeric.3pm.gz /usr/share/man/man3/Specio::Library::Perl.3pm.gz /usr/share/man/man3/Specio::Library::String.3pm.gz /usr/share/man/man3/Specio::Library::Structured.3pm.gz /usr/share/man/man3/Specio::Library::Structured::Dict.3pm.gz /usr/share/man/man3/Specio::Library::Structured::Map.3pm.gz /usr/share/man/man3/Specio::Library::Structured::Tuple.3pm.gz /usr/share/man/man3/Specio::OO.3pm.gz /usr/share/man/man3/Specio::PartialDump.3pm.gz /usr/share/man/man3/Specio::Registry.3pm.gz /usr/share/man/man3/Specio::Role::Inlinable.3pm.gz /usr/share/man/man3/Specio::Subs.3pm.gz /usr/share/man/man3/Specio::TypeChecks.3pm.gz /usr/share/perl5/vendor_perl/Specio /usr/share/perl5/vendor_perl/Specio.pm /usr/share/perl5/vendor_perl/Specio/Coercion.pm /usr/share/perl5/vendor_perl/Specio/Constraint /usr/share/perl5/vendor_perl/Specio/Constraint/AnyCan.pm /usr/share/perl5/vendor_perl/Specio/Constraint/AnyDoes.pm /usr/share/perl5/vendor_perl/Specio/Constraint/AnyIsa.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Enum.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Intersection.pm /usr/share/perl5/vendor_perl/Specio/Constraint/ObjectCan.pm /usr/share/perl5/vendor_perl/Specio/Constraint/ObjectDoes.pm /usr/share/perl5/vendor_perl/Specio/Constraint/ObjectIsa.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Parameterizable.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Parameterized.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Role /usr/share/perl5/vendor_perl/Specio/Constraint/Role/CanType.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Role/DoesType.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Role/Interface.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Role/IsaType.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Simple.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Structurable.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Structured.pm /usr/share/perl5/vendor_perl/Specio/Constraint/Union.pm /usr/share/perl5/vendor_perl/Specio/Declare.pm /usr/share/perl5/vendor_perl/Specio/DeclaredAt.pm /usr/share/perl5/vendor_perl/Specio/Exception.pm /usr/share/perl5/vendor_perl/Specio/Exporter.pm /usr/share/perl5/vendor_perl/Specio/Helpers.pm /usr/share/perl5/vendor_perl/Specio/Library /usr/share/perl5/vendor_perl/Specio/Library/Builtins.pm /usr/share/perl5/vendor_perl/Specio/Library/Numeric.pm /usr/share/perl5/vendor_perl/Specio/Library/Perl.pm /usr/share/perl5/vendor_perl/Specio/Library/String.pm /usr/share/perl5/vendor_perl/Specio/Library/Structured /usr/share/perl5/vendor_perl/Specio/Library/Structured.pm /usr/share/perl5/vendor_perl/Specio/Library/Structured/Dict.pm /usr/share/perl5/vendor_perl/Specio/Library/Structured/Map.pm /usr/share/perl5/vendor_perl/Specio/Library/Structured/Tuple.pm /usr/share/perl5/vendor_perl/Specio/OO.pm /usr/share/perl5/vendor_perl/Specio/PartialDump.pm /usr/share/perl5/vendor_perl/Specio/Registry.pm /usr/share/perl5/vendor_perl/Specio/Role /usr/share/perl5/vendor_perl/Specio/Role/Inlinable.pm /usr/share/perl5/vendor_perl/Specio/Subs.pm /usr/share/perl5/vendor_perl/Specio/TypeChecks.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Dec 21 09:58:51 2024