Closed LLFourn closed 10 years ago
I decided to include use Raisin::Types
into documentation rather than include Raisin::Types
into Raisin application by default.
I made in that way because I think that Raisin::Types
is just an example types and it's not necessary to include in every user application but if user want it he/she could include it instead of making his own types.
On that note have you thought about using Type::Tiny https://metacpan.org/pod/Type::Tiny::Manual instead of the one you rolled yourself?
I didn't know about Type::Tiny before. It's interesting, I'll think about it.
Rewritten to able to use Type::Tiny and any compatible with it type constraints.
If you don't have 'use Raisin::Types' this in your RaisinApp (as in example). It will stuff up. eg