Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

predicates rather than MayBe[] typing #89

Open
dkj opened this issue Dec 9, 2016 · 1 comment
Open

predicates rather than MayBe[] typing #89

dkj opened this issue Dec 9, 2016 · 1 comment

Comments

@dkj
Copy link
Member

dkj commented Dec 9, 2016

I've preference for testing presence with has_foo where the foo attribute has required => 0 over using a is => MayBe[] construct. I think this plays better with MooseX::GetOpts, and also seems more precise (at the cost of moving further from non-Moose Perl to more Moose Perl).

Following on from (but not blocking) #86

@dkj dkj added the enhancement label Dec 9, 2016
@mgcam
Copy link
Member

mgcam commented Dec 9, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants