- type now supports messages as well
(thanks to phaylon for finding this)
- added tests for this
+ - added list_all_type_constraints and
+ list_all_builtin_type_constraints
+ functions to facilitate introspection.
0.18 Sat. March 10, 2007
~~ Many, many documentation updates ~~
=> where { $_->can('does') }
=> optimize_as { blessed($_[0]) && $_[0]->can('does') };
+{
+ my @BUILTINS = list_all_type_constraints();
+ sub list_all_builtin_type_constraints { @BUILTINS }
+}
+
1;
__END__
fetch them using C<find_type_constraint ($type_name)> if you
want to.
+=item B<list_all_builtin_type_constraints>
+
+This will return a list of builtin type constraints, meaning,
+those which are defined in this module. See the section
+labeled L<Default Type Constraints> for a complete list.
+
=back
=head2 Type Constraint Constructors