Skip to content
This repository
Browse code

More masak-inspired changes.

git-svn-id: http://svn.pugscode.org/pugs@25602 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit bd2bd5e4b815a63efb6a3a0bd618e55c8072bd52 1 parent 0d55ac5
authored February 27, 2009
4  S29-functions.pod
Source Rendered
@@ -205,6 +205,10 @@ An ordering of C<*> does the default comparison for the operator:
205 205
 
206 206
 See L<S06/"The C<context> and C<caller> functions">.
207 207
 
  208
+=item context
  209
+
  210
+See L<S06/"The C<context> and C<caller> functions">.
  211
+
208 212
 =item eval
209 213
 
210 214
  multi eval ( Str $code, Grammar :$lang = CALLER::<$?PARSER>)
22  S32-setting-library/Callable.pod
Source Rendered
@@ -36,6 +36,8 @@ to support C<< postcircumfix:<( )> >>.
36 36
 # Base class for all executable objects
37 37
 role	Code {
38 38
 	method Signature signature() {...}
  39
+	method Code      assuming(...) {...}
  40
+	method           do() {...} # See L<S12/Introspection>
39 41
 }
40 42
 
41 43
 =head2 Block
@@ -59,11 +61,29 @@ role	Signature {...}
59 61
 # Function call arguments (right-hand side of a binding)
60 62
 role	Capture does Positional does Associative {...}
61 63
 
  64
+=head2 WrapHandle
  65
+
  66
+role	WrapHandle {...}
  67
+
62 68
 =head1 Classes
63 69
 
64 70
 =head2 Routine
65 71
 
66  
-class	Routine does Block {...}
  72
+class	Routine does Block {
  73
+	method WrapHandle wrap(Code $code) {...}
  74
+	method Routine    unwrap(Wraphandle $original) {...}
  75
+	method Str        name() {...}
  76
+}
  77
+
  78
+=item unwrap
  79
+
  80
+See L<S06/Wrapping>.  
  81
+
  82
+=item wrap
  83
+
  84
+ method wrap(Code $code) {...}
  85
+
  86
+See L<S06/Wrapping>.  
67 87
 
68 88
 =head2 Sub
69 89
 
10  S32-setting-library/Containers.pod
Source Rendered
@@ -681,23 +681,23 @@ class	Range does Positional {
681 681
 
682 682
 class	Buf does Positional {...}
683 683
 
684  
-=head2 
  684
+=head2 Pair
685 685
 
686 686
 class	Pair does Associative {...}
687 687
 
688  
-=head2 
  688
+=head2 Mapping
689 689
 
690 690
 class	Mapping does Associative {...}
691 691
 
692  
-=head2 
  692
+=head2 Set
693 693
 
694 694
 class	Set does Associative {...}
695 695
 
696  
-=head2 
  696
+=head2 Bag
697 697
 
698 698
 class	Bag does Associative {...}
699 699
 
700  
-=head2 
  700
+=head2 KeyHash
701 701
 
702 702
 class	KeyHash does Associative {...}
703 703
 
56  S32-setting-library/Rules.pod
Source Rendered
... ...
@@ -0,0 +1,56 @@
  1
+
  2
+=encoding utf8
  3
+
  4
+=head1 Title
  5
+
  6
+DRAFT: Synopsis 32: Setting Library - Rules
  7
+
  8
+=head1 Version
  9
+
  10
+ Author:        Tim Nelson <wayland@wayland.id.au>
  11
+ Maintainer:    Larry Wall <larry@wall.org>
  12
+ Contributions: Tim Nelson <wayland@wayland.id.au>
  13
+ Date:          27 Feb 2009
  14
+ Last Modified: 27 Feb 2009
  15
+ Version:       1
  16
+
  17
+The document is a draft.
  18
+
  19
+If you read the HTML version, it is generated from the pod in the pugs 
  20
+repository under /docs/Perl6/Spec/S32-setting-library/Exception.pod so edit it there in
  21
+the SVN repository if you would like to make changes.
  22
+
  23
+=head1 Roles
  24
+
  25
+=head2 Regex
  26
+
  27
+role	Regex {...}
  28
+
  29
+=head2 Match
  30
+
  31
+role	Match {
  32
+	method Int from()  {...}
  33
+	method Int to()    {...}
  34
+	method Int chars() {...}
  35
+	method     orig()  {...}
  36
+	method Str text()  {...}
  37
+}
  38
+
  39
+=head2 Cursor
  40
+
  41
+role	Cursor {
  42
+	method Int pos()  {...}
  43
+	method     orig() {...}
  44
+}
  45
+
  46
+=head2 Grammar
  47
+
  48
+See Abstractions.pod
  49
+
  50
+=head1 Additions
  51
+
  52
+Please post errors and feedback to perl6-language.  If you are making
  53
+a general laundry list, please separate messages by topic.
  54
+
  55
+
  56
+
4  S32-setting-library/Scalar.pod
Source Rendered
@@ -82,6 +82,10 @@ Such a conversion does not generate a warning.
82 82
 Perl 5's unary C<undef> function is renamed C<undefine> to avoid
83 83
 confusion with the value C<undef> (which is always 0-ary now).
84 84
 
  85
+=item VAR
  86
+
  87
+This is not really a method, but some kind of macro.  See L<S12> for details.  
  88
+
85 89
 =back
86 90
 
87 91
 =head1 Additions

0 notes on commit bd2bd5e

Please sign in to comment.
Something went wrong with that request. Please try again.