Re: Parameterized Type Intersections?
[email protected] ("Thalhammer, Jeffrey Ryan") Fri, 2 May 2014 13:05:19 -0700
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <CABE6C1FqYTKu66OcLN3by+O-aGZPEMrQwypSLxfsrmNvnY1cLA@mail.gmail.com> |
>I know this exists, which might help in implementing that: > https://metacpan.org/pod/MooseX::Meta::TypeConstraint::Intersection Oooo, that looks very promising. Thanks for that! Now I just need to make the sugar :) But does the parameterization shown in your example already exist? Or did you make that up? I know I can say things like ArrayRef[String] but I didn't know I could pass arguments into those things. -Jeff