BSD Ports

devel/p5-Type-TinyX-Facets 1.3 DragonFly

Easily create a facet parameterized Type::Tiny type

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
15.3 KiB, 51.7 KiB installed

Description

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.)

In the other systems

The newest version among them is 1.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Type-TinyX-Facets1.3 newestnone known-[email protected]-
FreeBSDdevel/p5-Type-TinyX-Facets1.3 newestnone known-[email protected]-
HardenedBSDdevel/p5-Type-TinyX-Facets1.3 newestno data-[email protected]-
GhostBSDdevel/p5-Type-TinyX-Facets1.3 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Type-TinyX-Facets

From DPorts:

cd /usr/dports/devel/p5-Type-TinyX-Facets && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4
Required by 1