Author: lwall
Date: 2010-01-09 19:27:49 +0100 (Sat, 09 Jan 2010)
New Revision: 29498
Modified:
docs/Perl6/Spec/S32-setting-library/Containers.pod
Log:
[S32/Containers] clarifications suggested by rodi++
Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Containers.pod 2010-01-09 10:34:11 UTC
(rev 29497)
+++ docs/Perl6/Spec/S32-setting-library/Containers.pod 2010-01-09 18:27:49 UTC
(rev 29498)
@@ -19,8 +19,8 @@
Created: 19 Feb 2009 extracted from S29-functions.pod
- Last Modified: 17 Dec 2009
- Version: 12
+ Last Modified: 9 Jan 2010
+ Version: 13
The document is a draft.
@@ -725,7 +725,7 @@
=back
-=head1 Classes
+=head1 Classes and Roles
This documents Buf, List, Seq, Range, Set, Bag, Junction, Array, Hash,
KeyHash, KeySet,
KeyBag, Pair, and PairMap.
@@ -869,7 +869,7 @@
=head2 KeySet
-A mutable Set container, represented as C<KeyHash of True>.
+A mutable Set container, represented as C<KeyHash of Bool>.
=head2 Bag
@@ -925,6 +925,11 @@
or compute on demand. Tracking is preferable for efficient implementation
of C<.pick> and C<.grab>.
+All C<KeyHash> containers have a default value that is false (such as
+C<0> or C<''> or C<Nil> or C<Bool::False>), and keep around only those
+entries with non-default values, deleting any entry if its value goes
+to false.
+
=over
=item grab