cpan Type-Tiny 0.013_01

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

[ BACK COMPAT ]

  • Type::Parser functions no longer accept an arrayref of tokens, as they
    expect to pull tokens from a stream as required.
  • Type::Parser no longer provides a tokens function as it no longer
    pre-emptively tokenizes the whole string it is given.

[ Other ]

  • Added: Type::Parser now provides a extract_type function which parses
    a type constraint expression from the head of a string and returns a
    Type::Tiny object, plus the tail of the string. (This is designed to
    make it easier to use Type::Parser to parse things like function
    signatures.)
  • Type::Parser's tokenization is now done on a pull basis, allowing
    one-pass building of the AST.

Don't miss a new Type-Tiny release

NewReleases is sending notifications on new releases.