Author: wayland
Date: 2009-03-06 06:25:49 +0100 (Fri, 06 Mar 2009)
New Revision: 25722
Modified:
docs/Perl6/Spec/S32-setting-library/Callable.pod
Log:
Assuming .^methods returns an array of Method objects, I'mve documented things
appropriately. Now we just have to decide what the attribute descriptors are.
Modified: docs/Perl6/Spec/S32-setting-library/Callable.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Callable.pod 2009-03-06 03:46:09 UTC
(rev 25721)
+++ docs/Perl6/Spec/S32-setting-library/Callable.pod 2009-03-06 05:25:49 UTC
(rev 25722)
@@ -38,6 +38,7 @@
method Signature signature() {...}
method Code assuming(...) {...}
method do() {...} # See L<S12/Introspection>
+ # XXX What does do() return? I mean, it's a "method body", but what's
that?
}
=head2 Block
@@ -49,6 +50,7 @@
method redo() {...}
method leave() {...}
method labels() {...}
+ method as() {...} # See L<S12/Introspection> and L<S02/Value types>
}
=head2 Signature
@@ -69,11 +71,12 @@
=head2 Routine
-class Routine does Block {
- method WrapHandle wrap(Code $code) {...}
- method Routine unwrap(Wraphandle $original) {...}
- method Str name() {...}
-}
+ class Routine does Block {
+ method WrapHandle wrap(Code $code) {...}
+ method Routine unwrap(Wraphandle $original) {...}
+ method Str name() {...}
+ method Bool multi() {...}
+ }
=item unwrap