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/bxnmsjyn4l45grhpcg5cynwnzkvd8vgc-perl-specio-0.38.drv | ||
mips64el-linux | /gnu/store/ski11a1j9yjr0lxhrfd4p4ciyjs220yv-perl-specio-0.38.drv | ||
i686-linux | /gnu/store/42anw0ifygx5vayg2n1mlahv4wgzhsp3-perl-specio-0.38.drv | ||
armhf-linux | /gnu/store/w44drqa712yx6liddc5vs9ax41hd90mf-perl-specio-0.38.drv | ||
aarch64-linux | /gnu/store/l2qhys1cwyqc9wfg2qy5z15ryl24bzcx-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 |