Author: wayland Date: 2009-02-27 04:58:37 +0100 (Fri, 27 Feb 2009) New Revision: 25602
Added: docs/Perl6/Spec/S32-setting-library/Rules.pod Modified: docs/Perl6/Spec/S29-functions.pod docs/Perl6/Spec/S32-setting-library/Callable.pod docs/Perl6/Spec/S32-setting-library/Containers.pod docs/Perl6/Spec/S32-setting-library/Scalar.pod Log: More masak-inspired changes. Modified: docs/Perl6/Spec/S29-functions.pod =================================================================== --- docs/Perl6/Spec/S29-functions.pod 2009-02-27 02:44:46 UTC (rev 25601) +++ docs/Perl6/Spec/S29-functions.pod 2009-02-27 03:58:37 UTC (rev 25602) @@ -205,6 +205,10 @@ See L<S06/"The C<context> and C<caller> functions">. +=item context + +See L<S06/"The C<context> and C<caller> functions">. + =item eval multi eval ( Str $code, Grammar :$lang = CALLER::<$?PARSER>) Modified: docs/Perl6/Spec/S32-setting-library/Callable.pod =================================================================== --- docs/Perl6/Spec/S32-setting-library/Callable.pod 2009-02-27 02:44:46 UTC (rev 25601) +++ docs/Perl6/Spec/S32-setting-library/Callable.pod 2009-02-27 03:58:37 UTC (rev 25602) @@ -36,6 +36,8 @@ # Base class for all executable objects role Code { method Signature signature() {...} + method Code assuming(...) {...} + method do() {...} # See L<S12/Introspection> } =head2 Block @@ -59,12 +61,30 @@ # Function call arguments (right-hand side of a binding) role Capture does Positional does Associative {...} +=head2 WrapHandle + +role WrapHandle {...} + =head1 Classes =head2 Routine -class Routine does Block {...} +class Routine does Block { + method WrapHandle wrap(Code $code) {...} + method Routine unwrap(Wraphandle $original) {...} + method Str name() {...} +} +=item unwrap + +See L<S06/Wrapping>. + +=item wrap + + method wrap(Code $code) {...} + +See L<S06/Wrapping>. + =head2 Sub class Sub isa Routine {...} Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod =================================================================== --- docs/Perl6/Spec/S32-setting-library/Containers.pod 2009-02-27 02:44:46 UTC (rev 25601) +++ docs/Perl6/Spec/S32-setting-library/Containers.pod 2009-02-27 03:58:37 UTC (rev 25602) @@ -681,23 +681,23 @@ class Buf does Positional {...} -=head2 +=head2 Pair class Pair does Associative {...} -=head2 +=head2 Mapping class Mapping does Associative {...} -=head2 +=head2 Set class Set does Associative {...} -=head2 +=head2 Bag class Bag does Associative {...} -=head2 +=head2 KeyHash class KeyHash does Associative {...} Added: docs/Perl6/Spec/S32-setting-library/Rules.pod =================================================================== --- docs/Perl6/Spec/S32-setting-library/Rules.pod (rev 0) +++ docs/Perl6/Spec/S32-setting-library/Rules.pod 2009-02-27 03:58:37 UTC (rev 25602) @@ -0,0 +1,56 @@ + +=encoding utf8 + +=head1 Title + +DRAFT: Synopsis 32: Setting Library - Rules + +=head1 Version + + Author: Tim Nelson <wayl...@wayland.id.au> + Maintainer: Larry Wall <la...@wall.org> + Contributions: Tim Nelson <wayl...@wayland.id.au> + Date: 27 Feb 2009 + Last Modified: 27 Feb 2009 + Version: 1 + +The document is a draft. + +If you read the HTML version, it is generated from the pod in the pugs +repository under /docs/Perl6/Spec/S32-setting-library/Exception.pod so edit it there in +the SVN repository if you would like to make changes. + +=head1 Roles + +=head2 Regex + +role Regex {...} + +=head2 Match + +role Match { + method Int from() {...} + method Int to() {...} + method Int chars() {...} + method orig() {...} + method Str text() {...} +} + +=head2 Cursor + +role Cursor { + method Int pos() {...} + method orig() {...} +} + +=head2 Grammar + +See Abstractions.pod + +=head1 Additions + +Please post errors and feedback to perl6-language. If you are making +a general laundry list, please separate messages by topic. + + + Modified: docs/Perl6/Spec/S32-setting-library/Scalar.pod =================================================================== --- docs/Perl6/Spec/S32-setting-library/Scalar.pod 2009-02-27 02:44:46 UTC (rev 25601) +++ docs/Perl6/Spec/S32-setting-library/Scalar.pod 2009-02-27 03:58:37 UTC (rev 25602) @@ -82,6 +82,10 @@ Perl 5's unary C<undef> function is renamed C<undefine> to avoid confusion with the value C<undef> (which is always 0-ary now). +=item VAR + +This is not really a method, but some kind of macro. See L<S12> for details. + =back =head1 Additions