[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#802957: ITP: libmoosex-meta-typeconstraint-mooish-perl -- module to translate Moo-style constraints to Moose-style

Package: wnpp
Owner: gregor herrmann <gregoa@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-perl@lists.debian.org

* Package name    : libmoosex-meta-typeconstraint-mooish-perl
  Version         : 0.001
  Upstream Author : Chris Weyl <cweyl@alumni.drew.edu>
* URL             : https://metacpan.org/release/MooseX-Meta-TypeConstraint-Mooish
* License         : LGPL-2.1
  Programming Lang: Perl
  Description     : module to translate Moo-style constraints to Moose-style

Moose::Meta::TypeConstraint are expected to return true if the value passes
the constraint, and false otherwise; Moo "constraints", on the other hand,
die if validation fails.

The MooseX::Meta::TypeConstraint::Mooish metaclass allows for Moo-style
constraints; it will wrap them and translate their Moo into a dialect Moose

Note that this is largely to enable functionality in
MooseX::AttributeShortcuts; the easiest way use this metaclass is by using
that package. Also, as it's not inconceivable that this functionality may be
desired in other constraint metaclasses, the bulk of this metaclass'
functionality is implemented as a trait

The package will be maintained under the umbrella of the Debian Perl Group.

Attachment: signature.asc
Description: Digital Signature

Reply to: