----- Original Message ---- > From: Hans Dieter Pearcey <h...@pobox.com> > To: moose <moose@perl.org> > Sent: Tuesday, September 8, 2009 12:43:45 PM > Subject: Re: MooseX::Types to core? > > Excerpts from Stevan Little's message of Tue Sep 08 12:39:01 -0400 2009: > > The TC objects use C::MOP level attributes though, so no types. > > > > Yes, I think it could be totally pushed outside of Moose, however a > > few things would need fixing, such as the type registry. > > Just to be sure I'm not missing something: > > This has nothing to do with coring MooseX::Types, right? It's in the same > space as Moose::Util::TypeConstraints, not Moose::Meta::TypeConstraint. > > hdp.
Honestly, I'd argue that moving MooseX::Types to core is the opposite of what I'd like to see. What I'd what to see is a more cleanly and clearly defined TC system, with all the bits needed divorced from Moose (including something with the Registry that Stevan mentioned) and then Moose would leverage that and possible CMOP might define some interfaces and apis around like (like function support and attribute type checking). I'm not sure if that's the direction everyone agrees with though :) john