Re: Role excludes/includes

2009-04-30 Thread Ovid
- Original Message From: Stevan Little stevan.lit...@iinteractive.com -- Actually, I said no to the idea of: with 'Role::Serializable' = { includes = [] }; meaning don't compose any methods, but i still want to do this role, because I think that it is not very clear and

Re: Types and Constraints

2009-04-30 Thread Zbigniew Lukasiak
On Thu, Apr 30, 2009 at 12:15 AM, Stevan Little stevan.lit...@iinteractive.com wrote: I was not talking here about variables (where the 'statically typed' term could be applied) I was talking about values. Okay, I am kind of confused then. If foo is a value whose type is a string, then

Moose::Role -metaclass not working?

2009-04-30 Thread Ovid
I'm trying to write MooseX::Role::Strict and am having problems (not surprising since this is my first attempt at hacking Moose). My code is at http://github.com/Ovid/MooseX--Role--Strict/tree/master I'm trying to provide my own meta class and using the following: use

Re: Moose::Role -metaclass not working?

2009-04-30 Thread Ovid
- Original Message From: Chris Prather perig...@gmail.com Once I put those four lines together, the following test fails: isa_ok +My::Role::Example-meta, 'MooseX::Meta::Role::Strict'; With the following error message: not ok 1 - The object isa

Re: Moose::Role -metaclass not working?

2009-04-30 Thread Ovid
- Original Message From: Chris Prather perig...@gmail.com Make sure you're on Moose 0.75 and above. Here is the test file for the new code, it's anemic, but this part of the code wasn't very well tested before either.

Annoying warnings from latest Moose

2009-04-30 Thread Yuri Shtil
Hi, I just upgraded my Moose packages and started seeing these warnings, any clues? --- Not inlining a constructor for MooseX::Meta::Signature::Named since it defines its own constructor. If you are certain you don't need to inline your constructor, specify inline_constructor = 0 in your

Re: Types and Constraints

2009-04-30 Thread Darren Duncan
John Napiorkowski wrote: Just curious, how would you feel about an implimentation of dependent types where the functional element was predefined and more explicit, such as (syntax hypothetical and only partly implemented...) snip I am fine with one being able to create, change, and delete

Re: Types and Constraints

2009-04-30 Thread Zbigniew Lukasiak
On Thu, Apr 30, 2009 at 10:55 PM, Darren Duncan dar...@darrenduncan.net wrote: John Napiorkowski wrote: Just curious, how would you feel about an implimentation of dependent types where the functional element was predefined and more explicit, such as (syntax hypothetical and only partly