icon

Type constraints and coercions for Perl (source files)

specio_source-0.53-1-source

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.
My long-term goal is to replace Moose's built-in types and MooseX::Types with this module.

Name
specio_source
Repository
HaikuPorts
Repository Source
haikuports_x86_64
Version
0.53-1
Download Size
122.3 KB
Source available
No
Categories
None
Version Views
0