Author: wayland
Date: 2009-08-21 14:11:17 +0200 (Fri, 21 Aug 2009)
New Revision: 28045

Modified:
   docs/Perl6/Spec/S02-bits.pod
   docs/Perl6/Spec/S03-operators.pod
   docs/Perl6/Spec/S09-data.pod
   docs/Perl6/Spec/S11-modules.pod
Log:
[S02,S03,S09,S11] Changed any example that had the animal "Cat" to have 
"Squirrel"
instead (both have kittens), because we already have a type called Cat and a 
method called "cat", and I could see some potential for confusion.  


Modified: docs/Perl6/Spec/S02-bits.pod
===================================================================
--- docs/Perl6/Spec/S02-bits.pod        2009-08-21 11:17:35 UTC (rev 28044)
+++ docs/Perl6/Spec/S02-bits.pod        2009-08-21 12:11:17 UTC (rev 28045)
@@ -1245,9 +1245,9 @@
 types to act like an "and" junction:
 
     # Anything assigned to the variable $mitsy must conform
-    # to the type Fish and either the Cat or Dog type...
-    my Cat|Dog Fish $mitsy = new Fish but { Bool.pick ?? .does Cat
-                                                      !! .does Dog };
+    # to the type Fish and either the Squirrel or Dog type...
+    my Squirrel|Dog Fish $mitsy = new Fish but { Bool.pick ?? .does Squirrel
+                                                           !! .does Dog };
 
 [Note: the above is a slight lie, insofar as parameters are currently
 restricted for 6.0.0 to having only a single main type for the
@@ -1662,7 +1662,7 @@
 the (untyped) variable names yourself via an additional signature
 in parentheses:
 
-    sub foo (Num Dog|Cat $numdog, MySig $a ($i,$j,$k,$mousestatus)) {...}
+    sub foo (Num Dog|Squirrel $numdog, MySig $a ($i,$j,$k,$mousestatus)) {...}
     foo($mynumdog, \(1, 2.7182818, 1.0i, statmouse());
 
 =item *

Modified: docs/Perl6/Spec/S03-operators.pod
===================================================================
--- docs/Perl6/Spec/S03-operators.pod   2009-08-21 11:17:35 UTC (rev 28044)
+++ docs/Perl6/Spec/S03-operators.pod   2009-08-21 12:11:17 UTC (rev 28045)
@@ -4368,7 +4368,7 @@
      %monsters.{'cookie'} = Monster.new;
      %beatles\.{'ringo'}  = Beatle.new;
      %people\ .{'john'}   = Person.new;
-     %cats\   .{'fluffy'} = Cat.new;
+     %cats\   .{'fluffy'} = Squirrel.new;
 
 Whitespace is in general required between any keyword and any opening
 bracket that is I<not> introducing a subscript or function arguments.

Modified: docs/Perl6/Spec/S09-data.pod
===================================================================
--- docs/Perl6/Spec/S09-data.pod        2009-08-21 11:17:35 UTC (rev 28044)
+++ docs/Perl6/Spec/S09-data.pod        2009-08-21 12:11:17 UTC (rev 28045)
@@ -1186,7 +1186,7 @@
 
 You can limit the keys to objects of particular types:
 
-    my Fight %hash{Dog; Cat where {!.scared}};
+    my Fight %hash{Dog; Squirrel where {!.scared}};
 
 The standard Hash is just
 

Modified: docs/Perl6/Spec/S11-modules.pod
===================================================================
--- docs/Perl6/Spec/S11-modules.pod     2009-08-21 11:17:35 UTC (rev 28044)
+++ docs/Perl6/Spec/S11-modules.pod     2009-08-21 12:11:17 UTC (rev 28045)
@@ -321,7 +321,7 @@
 
 When at the top of a file you say something like
 
-    module Cat;
+    module Squirrel;
 
 or
 

Reply via email to