develooper Front page | perl.perl6.language | Postings from December 2008

r24671 - docs/Perl6/Spec

From:
pugs-commits
Date:
December 28, 2008 18:55
Subject:
r24671 - docs/Perl6/Spec
Message ID:
20081229025457.21851.qmail@feather.perl6.nl
Author: tjp
Date: 2008-12-29 03:54:57 +0100 (Mon, 29 Dec 2008)
New Revision: 24671

Modified:
   docs/Perl6/Spec/S02-bits.pod
   docs/Perl6/Spec/S03-operators.pod
   docs/Perl6/Spec/S04-control.pod
   docs/Perl6/Spec/S05-regex.pod
   docs/Perl6/Spec/S06-routines.pod
Log:
Fixed typos/grammar in S02-S06.


Modified: docs/Perl6/Spec/S02-bits.pod
===================================================================
--- docs/Perl6/Spec/S02-bits.pod	2008-12-28 18:21:49 UTC (rev 24670)
+++ docs/Perl6/Spec/S02-bits.pod	2008-12-29 02:54:57 UTC (rev 24671)
@@ -1545,7 +1545,7 @@
 
 With multiple dispatch, C<&foo> may actually be the name of a set
 of candidate functions (which you can use as if it were an ordinary function).
-However, in that case C<&foo> by itself is not be sufficient to uniquely
+However, in that case C<&foo> by itself is not sufficient to uniquely
 name a specific function.  To do that, the type may be refined by
 using a signature literal as a postfix operator:
 

Modified: docs/Perl6/Spec/S03-operators.pod
===================================================================
--- docs/Perl6/Spec/S03-operators.pod	2008-12-28 18:21:49 UTC (rev 24670)
+++ docs/Perl6/Spec/S03-operators.pod	2008-12-29 02:54:57 UTC (rev 24671)
@@ -2501,7 +2501,7 @@
 =item *
 
 List operators are all parsed consistently.  As in Perl 5,
-to the left a list operator look like term, while to the right it looks like
+to the left a list operator looks like a term, while to the right it looks like
 an operator that is looser than comma.  Unlike in Perl 5, the difference
 between the list operator form and the function form is consistently
 indicated via whitespace between the list operator and the first
@@ -4030,7 +4030,7 @@
 
 (Note that the semantics of C<our> are different from Perl 5, where the
 initialization happens at the same time as a C<my>.  To get the same
-effect in Perl 6 you'd have to say "c<(our $foo) = 1;>" instead.)
+effect in Perl 6 you'd have to say "C<(our $foo) = 1;>" instead.)
 
 If you do not initialize a container, it starts out undefined at the
 beginning of its natural lifetime.  (In other words, you can't use

Modified: docs/Perl6/Spec/S04-control.pod
===================================================================
--- docs/Perl6/Spec/S04-control.pod	2008-12-28 18:21:49 UTC (rev 24670)
+++ docs/Perl6/Spec/S04-control.pod	2008-12-29 02:54:57 UTC (rev 24671)
@@ -1298,7 +1298,7 @@
     sub foo {
 	# conceptual cloning happens to both blocks below
         my $x = 1;
-        my sub bar { print $x }         # already conceptualy cloned, but can be lazily deferred
+        my sub bar { print $x }         # already conceptually cloned, but can be lazily deferred
         my &baz := { bar(); print $x }; # block is cloned immediately, forcing cloning of bar
         my $code = &bar;                # this would also force bar to be cloned
         return &baz;

Modified: docs/Perl6/Spec/S05-regex.pod
===================================================================
--- docs/Perl6/Spec/S05-regex.pod	2008-12-28 18:21:49 UTC (rev 24670)
+++ docs/Perl6/Spec/S05-regex.pod	2008-12-29 02:54:57 UTC (rev 24671)
@@ -1421,7 +1421,7 @@
 Note that C<< <!alpha> >> is different from C<< <-alpha> >>.
 C<< /<-alpha>/ >> is a complemented character class equivalent to
 C<<< /<!before <alpha>> ./ >>>, whereas C<< <!alpha> >> is a zero-width
-assertion equivalent to a /<!before <alpha>>/ assertion.
+assertion equivalent to a C<<< /<!before <alpha>>/ >>> assertion.
 
 Note also that as a metacharacter C<!> doesn't change the parsing
 rules of whatever follows (unlike, say, C<+> or C<->).

Modified: docs/Perl6/Spec/S06-routines.pod
===================================================================
--- docs/Perl6/Spec/S06-routines.pod	2008-12-28 18:21:49 UTC (rev 24670)
+++ docs/Perl6/Spec/S06-routines.pod	2008-12-29 02:54:57 UTC (rev 24671)
@@ -535,7 +535,7 @@
 
 The C<:p> stands for "pairs", not "positional"--the C<:p> adverb may be
 placed on any Hash access to make it mean "pairs" instead of "values".
-If you want the pair (or pairs) to be interpreted a named argument,
+If you want the pair (or pairs) to be interpreted as a named argument,
 you may do so by prefixing with the C<< prefix:<|> >> operator:
 
     doit |%hash<a>:p,1,2,3;




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About