Revision history for MooseX-Types-Structured
+ - fixed use of an interface that was deprecated in Moose-2.1100
+ (ether)
+
0.28 03 October 2011
- Fixed regression where mixed type constraints (MX:Types style and
'classic' Stringy style) are used in a single structured type doesn't
where { $_ > 5};
enum Gender,
- qw/male female transgendered/;
+ [ qw/male female transgendered/ ];
subtype TupleOptional1() =>
as Tuple[Int, MoreThanFive, Optional[Str|Object]];
subtype Const() => as Int | Str;
subtype Pair() => as Tuple[ Expr, Expr ];
- enum Op() => qw[ + - ];
+ enum Op() => [ qw[ + - ] ];
subtype BinOp() => as Tuple[ Expr, Op, Expr ];
subtype Lambda() => as Tuple[ Var, Expr ];