./devel/p5-Specio, Type constraints and coercions for Perl

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2018Q2, Version: 0.42, Package name: p5-Specio-0.42, Maintainer: pkgsrc-users

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.


Required to run:
[devel/p5-Eval-Closure]

Required to build:
[devel/p5-Test-Fatal]

Master sites:

SHA1: fbda4dac714f26ecbc2ff0eec4401a740644ccfa
RMD160: a93f27dce35e2584f7ac228bf26acad3a0d162f4
Filesize: 99.259 KB

Version history: (Expand)