Author: moritz
Date: 2009-07-30 15:26:44 +0200 (Thu, 30 Jul 2009)
New Revision: 27816

Modified:
   docs/Perl6/Spec/S09-data.pod
Log:
[S09] standard hash defaults to Object for values

We don't want to autothread on assignment to hash. jnthn++

Modified: docs/Perl6/Spec/S09-data.pod
===================================================================
--- docs/Perl6/Spec/S09-data.pod        2009-07-30 10:37:32 UTC (rev 27815)
+++ docs/Perl6/Spec/S09-data.pod        2009-07-30 13:26:44 UTC (rev 27816)
@@ -210,7 +210,7 @@
 
 =head1 Typed arrays
 
-The type of value stored in each element of the array (normally C<Any>)
+The type of value stored in each element of the array (normally C<Object>)
 can be explicitly specified too, as an external C<of> type:
 
     my num @nums;                     # Each element stores a native number
@@ -1190,7 +1190,7 @@
 
 The standard Hash is just
 
-    my Any %hash{Str};
+    my Object %hash{Str};
 
 Note that any type used as a key must be intrinsically immutable,
 or it has to be able to make a copy that functions as an immutable key,

Reply via email to