projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c9cc688
)
Add coerce() to the function list
gfx [Wed, 9 Dec 2009 12:48:15 +0000 (21:48 +0900)]
lib/Mouse/Util/TypeConstraints.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse/Util/TypeConstraints.pm
b/lib/Mouse/Util/TypeConstraints.pm
index
f6d7aaf
..
a3645e1
100644
(file)
--- a/
lib/Mouse/Util/TypeConstraints.pm
+++ b/
lib/Mouse/Util/TypeConstraints.pm
@@
-557,6
+557,8
@@
Returns the names of all the type constraints.
=item C<< enum (\@values) -> Mouse::Meta::TypeConstraint >>
+=item C<< coerce $type => from $another_type, via { }, ... >>
+
=back
=over 4