Path to this page:
./
devel/p5-Specio,
Type constraints and coercions for Perl
Branch: pkgsrc-2019Q4,
Version: 0.44,
Package name: p5-Specio-0.44,
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.
Required to build:[
pkgtools/cwrappers]
Master sites:
SHA1: abc771b3e5d739efc4e8e38d20e05dadb418a0bf
RMD160: 41336722c247fd9901acbeff116b0de775fbd9bc
Filesize: 100.89 KB
Version history: (Expand)
- (2020-01-02) Package added to pkgsrc.se, version p5-Specio-0.44 (created)