Path to this page:
./
devel/p5-Specio,
Type constraints and coercions for Perl
Branch: pkgsrc-2021Q2,
Version: 0.47nb1,
Package name: p5-Specio-0.47nb1,
Maintainer: pkgsrc-usersThe 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.
Master sites: (Expand)
SHA1: b4501d7ac77b265577c7c187e53192acdf8769d1
RMD160: d608e0bded08a45a6778558f11e1807d2c81509a
Filesize: 105.75 KB
Version history: (Expand)
- (2021-07-01) Package added to pkgsrc.se, version p5-Specio-0.47nb1 (created)