cpan Type-Tiny 0.007_02

latest releases: 2.006000, 2.005_002, 2.005_001...
pre-release11 years ago

[ Documentation ]

  • Improvements to Type::Tiny::Manual.
  • Improvements to Type::Tiny::Manual::Params, including rewritten manual
    processing section, and processing type constraints in function
    signatures via Function::Parameters/Attribute::Constract.

[ Test Suite ]

  • Test cases for usage with Function::Parameters.

[ Other ]

  • Added: New constraints added to Types::Standard: InstanceOf, ConsumerOf,
    HasMethods and Enum.
    Graham Knop++
  • Allow constraint_generators (for parameterizable type constraints) to
    return full Type::Tiny objects instead of plain coderefs.
  • Drop use of Carp in Type::Parser.
  • Type::Tiny::Class types now have an automatically calculated parent type
    constraint based on @ISA.
  • Type::Tiny::Duck types now have a parent type constraint of
    Types::Standard::Object.
  • Type::Tiny::Enum types now have a parent type constraint of
    Types::Standard::Str.
  • Type::Tiny::Intersection types now have an arbitrary parent type
    constraint.
  • Type::Tiny::Role types now have a parent type constraint of
    Types::Standard::Object.
  • Type::Tiny::Union types now have an automatically calculated parent type
    constraint based on the most specific common parent type constraint.

Don't miss a new Type-Tiny release

NewReleases is sending notifications on new releases.