FreeBSD.software
Home/devel/p5-Type-TinyX-Facets

p5-Type-TinyX-Facets

1.3

Easily create a facet parameterized Type::Tiny type

Type::TinyX::Facets make it easy to create parameterized types with facets. Type::Tiny allows definition of types which can accept parameters: use Types::Standard -types; my $t1 = Array[Int]; my $t2 = Tuple[Int, HashRef]; This defines $t1 as an array of integers. and $t2 as a tuple of two elements, an integer and a hash. Parameters are passed as a list to the parameterized constraint generation machinery, and there is great freedom in how they may be interpreted. This module makes it easy to create a parameterized type which takes name - value pairs or,facets. (The terminology is taken from Types::XSD::Lite, to which this module owes its existence.)

Origin: devel/p5-Type-TinyX-Facets
Category: devel
Size: 50.8KiB
License: ART10, GPLv1+
Maintainer: sunpoet@FreeBSD.org
Dependencies: 4 packages
Required by: 1 packages
$pkg install p5-Type-TinyX-Facets

Dependencies (4)

Required By (1 packages)

More in devel