The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.14 - 2016-05-22

  • Added an inline_assert method for constraint objects. This makes certain types of inlining tasks easier.
  • Parameterized constraint objects now have a default name based on the parent type and contained type.
  • Rewrote the code used for inlined types so that the generated inline code is optimized to check the most common cases first.
  • Fixed a bug where two enum types could not be inlined together in the same sub.

Documentation

Modules

Type constraints and coercions for Perl
A class representing a coercion from one type to another
A class for constraints which require a class name or object with a set of methods
A class for constraints which require a class name or an object that does a specific role
A class for constraints which require a class name or an object that inherit from a specific class
A class for constraints which require a string matching one of a set of values
A class for constraints which require an object with a set of methods
A class for constraints which require an object that does a specific role
A class for constraints which require an object that inherits from a specific class
A class which represents parameterizable constraints
A class which represents parameterized constraints
Provides a common implementation for Specio::Constraint::AnyCan and Specio::Constraint::ObjectCan
Provides a common implementation for Specio::Constraint::AnyDoes and Specio::Constraint::ObjectDoes
The interface all type constraints should provide
Provides a common implementation for Specio::Constraint::AnyIsa and Specio::Constraint::ObjectIsa
Class for simple (non-parameterized or specialized) types
Specio declaration subroutines
A class to represent where a type or coercion was declared
A Throwable::Error subclass for type constraint failures
Base class for type libraries
Helper subs for the Specio distro
Implements type constraint objects for Perl's built-in types
A painfully poor reimplementation of Moo(se)
Implements the per-package type registry
A role for things which can be inlined (type constraints and coercions)
Type checks used internally for Specio classes (it's not self-bootstrapping (yet?))