Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Specio | Distribution: openSUSE:Factory:zSystems |
Version: 0.490.0 | Vendor: openSUSE |
Release: 1.1 | Build date: Tue Dec 24 06:34:28 2024 |
Group: Unspecified | Build host: reproducible |
Size: 379861 | Source RPM: perl-Specio-0.490.0-1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/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
* Tue Dec 24 2024 Tina Müller <timueller+perl@suse.de> - updated to 0.490.0 (0.49) see /usr/share/doc/packages/perl-Specio/Changes 0.49 2024-12-23 - Attempting to import any structured type caused a confusing "Can't store CODE items" error. Reported by Kerin Millar. - Removed the "this is alpha" warning from Specio::Library::Structured. Given that I don't plan on making any major changes to this module, it's as production-ready as it's going to get. * Sun Jun 12 2022 Tina Müller <timueller+perl@suse.de> - updated to 0.48 see /usr/share/doc/packages/perl-Specio/Changes 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. * Tue Feb 16 2021 Dirk Stoecker <opensuse@dstoecker.de> - updated to 0.47 see /usr/share/doc/packages/perl-Specio/Changes 0.47 2021-01-29 - Change Specio constraint object's stringification overloading to return the type name rather than the default Perl object stringification, which gives you something like "Specio::Constraint::Parameterized=HASH(0x564d258efb48)". Anonymous are special cased to return something you can print. - All types now overload the `eq` comparison operator. Moose expects types to be comparable in this manner when doing role summation. This fixes a bug reported by Martin Gruner. GH #18. * Sun Mar 15 2020 <timueller+perl@suse.de> - updated to 0.46 see /usr/share/doc/packages/perl-Specio/Changes 0.46 2020-03-14 - No code changes, just fixing a mistake in the POD. Reported by Petr Pisar. Fixes #17. 0.45 2019-11-24 - Made XString a prereq if installing with Perl 5.10+. * Thu Aug 15 2019 Stephan Kulow <coolo@suse.com> - updated to 0.44 see /usr/share/doc/packages/perl-Specio/Changes 0.44 2019-08-14 - Replaced the use of B with XString if it is installed. The latter is much smaller and provides the one subroutine from B we cared about. Based on GH [#15]. Implemented by Nicolas R. * Thu Nov 08 2018 Stephan Kulow <coolo@suse.com> - updated to 0.43 see /usr/share/doc/packages/perl-Specio/Changes 0.43 2018-10-26 - Optimized compile-time operations to make Specio itself quicker to load. Specio's load time is a non-trivial part of the load time of DateTime (and presumably other things that use it). Based on https://github.com/houseabsolute/DateTime.pm/issues/85. Reported by versable. * Sun Nov 05 2017 coolo@suse.com - updated to 0.42 see /usr/share/doc/packages/perl-Specio/Changes 0.42 2017-11-04 - 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. 0.41 2017-11-04 - Fixed checks for whether a class is loaded in light of upcoming optimization in Perl 5.28. Fixed by Sprout (GH #12). * Tue Aug 15 2017 coolo@suse.com - updated to 0.40 see /usr/share/doc/packages/perl-Specio/Changes 0.40 2017-08-03 - 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. This broke enums, among other things. * Thu Aug 03 2017 coolo@suse.com - updated to 0.39 see /usr/share/doc/packages/perl-Specio/Changes 0.39 2017-08-02 - Many bug fixes and improves 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. In other cases, a value which failed a type check would cause an exception when generating a message describing the failure. These cases have all been fixed. - 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. * Sun Jul 02 2017 coolo@suse.com - updated to 0.38 see /usr/share/doc/packages/perl-Specio/Changes 0.38 2017-07-01 - Simplify checks for overloading to not call overload::Overloaded(). Just checking the return value of overload::Method() is sufficient.
/usr/lib/perl5/vendor_perl/5.40.0/Specio /usr/lib/perl5/vendor_perl/5.40.0/Specio.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Coercion.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/AnyCan.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/AnyDoes.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/AnyIsa.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Enum.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Intersection.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/ObjectCan.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/ObjectDoes.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/ObjectIsa.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Parameterizable.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Parameterized.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Role /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Role/CanType.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Role/DoesType.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Role/Interface.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Role/IsaType.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Simple.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Structurable.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Structured.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Constraint/Union.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Declare.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/DeclaredAt.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Exception.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Exporter.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Helpers.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Library /usr/lib/perl5/vendor_perl/5.40.0/Specio/Library/Builtins.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Library/Numeric.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Library/Perl.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Library/String.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Library/Structured /usr/lib/perl5/vendor_perl/5.40.0/Specio/Library/Structured.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Library/Structured/Dict.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Library/Structured/Map.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Library/Structured/Tuple.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/OO.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/PartialDump.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Registry.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Role /usr/lib/perl5/vendor_perl/5.40.0/Specio/Role/Inlinable.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/Subs.pm /usr/lib/perl5/vendor_perl/5.40.0/Specio/TypeChecks.pm /usr/lib/perl5/vendor_perl/5.40.0/Test /usr/lib/perl5/vendor_perl/5.40.0/Test/Specio.pm /usr/share/doc/packages/perl-Specio /usr/share/doc/packages/perl-Specio/CODE_OF_CONDUCT.md /usr/share/doc/packages/perl-Specio/CONTRIBUTING.md /usr/share/doc/packages/perl-Specio/Changes /usr/share/doc/packages/perl-Specio/README.md /usr/share/doc/packages/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/man/man3/Test::Specio.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jan 14 23:24:16 2025