Coercions and custom type parameters

2008-07-24 Thread Charles Alderman
Hello Moose, I guess I have an enhancement idea/request. I have a parametrized ArrayRef[] of a custom type, I'd like my coercion on that type to work for any of the values in the collection. HashRef[]s should work too. Maybe Maybe[]s, but not in my example below. Would this be

Re: Coercions and custom type parameters

2008-07-24 Thread Yuval Kogman
On Thu, Jul 24, 2008 at 16:16:28 -0400, Charles Alderman wrote: I guess that if you're trying to prevent this as an action at a distance, 'deep_coerce' wouldn't really be acceptable either. Wouldn't that just be a more explicit warning of an action at a distance? Declaring an attribute with