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

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


Branch: pkgsrc-2020Q3, Version: 0.46nb1, Package name: p5-Specio-0.46nb1, 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.


Master sites: (Expand)

SHA1: fadc92040f57937178d5195b3073837550d68e06
RMD160: 406343f95b00ef33df1201a3d3cdca5f0088d251
Filesize: 103.213 KB

Version history: (Expand)