Classes for representing type constraints and coercion
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.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/9g8yxqghkiviwlvi2dhgjx7yc94r5h59-perl-specio-0.38.drv | ||
mips64el-linux | /gnu/store/12g1a9dqyn2rbismh3cpspdp45yclvnh-perl-specio-0.38.drv | ||
i686-linux | /gnu/store/y72n8277ffyp2dp9745vxz2xvi060qzk-perl-specio-0.38.drv | ||
armhf-linux | /gnu/store/zw0nbsfr7cgh5fxn7hgdf08cvf9pvj5k-perl-specio-0.38.drv | ||
aarch64-linux | /gnu/store/6ar8b30mvshvrpn4q9jps8w1gsi828c9-perl-specio-0.38.drv |
Linter | Message | Location |
---|---|---|
description Validate package descriptions | sentences in description should be followed by two spaces; possible infractions at 185, 314 |