Simplistic implementation of type intersections, modeled after the implementation...
authorAdam J. Foxson <fhoxh@pobox.com>
Mon, 16 Feb 2009 03:22:47 +0000 (03:22 +0000)
committerKent Fredric <kentfredric@gmail.com>
Tue, 16 Aug 2011 15:43:52 +0000 (03:43 +1200)
commit8aab053afb75771a22366fb0a15a55699600f956
treeab231cae3381cad8924543fb23e6623163a6e325
parent3e3589ad5b52c6a503719f831daab490e3ddf704
Simplistic implementation of type intersections, modeled after the implementation of type unions.
lib/Moose.pm
lib/Moose/Meta/TypeCoercion/Intersection.pm [new file with mode: 0644]
lib/Moose/Meta/TypeConstraint/Intersection.pm [new file with mode: 0644]
lib/Moose/Util/TypeConstraints.pm
t/040_type_constraints/034_intersection_types.t [new file with mode: 0644]
t/040_type_constraints/035_subtyping_intersection_types.t [new file with mode: 0644]
t/type_constraints/advanced_type_creation.t
t/type_constraints/normalize_type_name.t
t/type_constraints/throw_error.t
t/type_constraints/type_notation_parser.t