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

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


Branch: pkgsrc-2016Q4, Version: 0.31, Package name: p5-Specio-0.31, 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:
[lang/perl5] [devel/p5-Role-Tiny] [devel/p5-Devel-StackTrace] [devel/p5-Eval-Closure] [devel/p5-MRO-Compat]

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

Master sites:

SHA1: 7e1f054b66883169e2e2ebc788af6fc3b5559ed3
RMD160: 6e0a0d76481750f5f04649b1b530a4ed2a42516f
Filesize: 80.851 KB

Version history: (Expand)