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/y2779nil43c1q37vv7kb36r930gj6960-perl-specio-0.38.drv | ||
mips64el-linux | /gnu/store/qz82sr217zhy0vmzdw27i9gibv2yr776-perl-specio-0.38.drv | ||
i686-linux | /gnu/store/4wi1wywa3fdzfzv9ysi92xfnqqj9ad08-perl-specio-0.38.drv | ||
i586-gnu | /gnu/store/5cq6fkhxxjyb76pdqnl4xq9j9ykgrdbv-perl-specio-0.38.drv | ||
armhf-linux | /gnu/store/5cwlhcf3gcgxnlfy81pswjq51hgfh8am-perl-specio-0.38.drv | ||
aarch64-linux | /gnu/store/8ykp24xyb88p5wmmf3maha6sbmzbc8w8-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 |