From: 大沢 和宏 Date: Wed, 3 Dec 2008 10:30:34 +0000 (+0000) Subject: remove of a lot of copied document X-Git-Tag: 0.19~136^2~46 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=commitdiff_plain;h=03478c1c9ef8a29bf493ee337e99c18118ed3bf8 remove of a lot of copied document --- diff --git a/lib/MouseX/Types.pm b/lib/MouseX/Types.pm index 2af1823..ada0e75 100644 --- a/lib/MouseX/Types.pm +++ b/lib/MouseX/Types.pm @@ -56,8 +56,6 @@ Mouse - Organise your Mouse types in libraries use MouseX::Types -declare => [qw( PositiveInt NegativeInt - ArrayRefOfPositiveInt ArrayRefOfAtLeastThreeNegativeInts - LotsOfInnerConstraints StrOrArrayRef )]; # import builtin types @@ -79,23 +77,6 @@ Mouse - Organise your Mouse types in libraries from Int, via { 1 }; - # with parameterized constraints. - - subtype ArrayRefOfPositiveInt, - as ArrayRef[PositiveInt]; - - subtype ArrayRefOfAtLeastThreeNegativeInts, - as ArrayRef[NegativeInt], - where { scalar(@$_) > 2 }; - - subtype LotsOfInnerConstraints, - as ArrayRef[ArrayRef[HashRef[Int]]]; - - # with TypeConstraint Unions - - subtype StrOrArrayRef, - as Str|ArrayRef; - 1; =head2 Usage