perl-specio 0.38
Propagated dependencies: perl-devel-stacktrace@2.04 perl-eval-closure@0.14 perl-module-runtime@0.016 perl-mro-compat@0.13 perl-role-tiny@1.003004 perl-test-fatal@0.016 perl-test-needs@0.002009
Channel: guix
Home page: https://metacpan.org/release/Specio
Licenses: Artistic License 2.0
Synopsis: Classes for representing type constraints and coercion
Description:
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.
Total results: 1